Skip to content

Commit

Permalink
Use api middleware for API routes
Browse files Browse the repository at this point in the history
  • Loading branch information
mzur committed Mar 9, 2022
1 parent 6b61f1b commit 0cac42c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
$router->group([
'namespace' => 'Api',
'prefix' => 'api/v1',
'middleware' => 'auth:web,api',
'middleware' => ['api', 'auth:web,api'],
], function ($router) {
$router->resource('annotation-assistance-requests', 'AnnotationAssistanceRequestController', [
'only' => ['store', 'destroy'],
Expand Down

0 comments on commit 0cac42c

Please sign in to comment.