diff --git a/config/amethyst.api.php b/config/amethyst.api.php index 3df21e7..d8d6ed1 100644 --- a/config/amethyst.api.php +++ b/config/amethyst.api.php @@ -6,7 +6,7 @@ 'router' => [ 'as' => 'app.', 'middleware' => [ - 'optional-auth:api', + 'api', ], 'prefix' => '/api', ], @@ -15,7 +15,7 @@ 'router' => [ 'as' => 'data.', 'middleware' => [ - 'optional-auth:api', + 'api', ], 'prefix' => '/api/data', ],