diff --git a/routes/api.php b/routes/api.php index bd38826..6867047 100644 --- a/routes/api.php +++ b/routes/api.php @@ -14,9 +14,10 @@ Route::apiResource( name: 'tarfin-cards.tarfin-card-transactions', controller: TarfinCardTransactionController::class -)->only(methods: [ - 'index', - 'show', - 'store', -])->shallow() - ->middleware(middleware: 'auth:api'); +)->shallow() + ->middleware(middleware: 'auth:api') + ->only(methods: [ + 'index', + 'show', + 'store', + ]);