From 558eb64cf9de39312ffbedb7cc6a1b2064da3eec Mon Sep 17 00:00:00 2001 From: Railken Date: Thu, 28 Mar 2024 14:21:24 +0100 Subject: [PATCH] Update amethyst.api.php --- config/amethyst.api.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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', ],