swagger auth fixed

This commit is contained in:
Stepan 2025-12-30 19:27:06 +01:00
parent b93d5dd746
commit 817c6f238c
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ class UserTestController extends Controller
* summary="Get a list of user tests (only creator or admin)",
* description="Returns all user tests. Only the creator or an admin can access this endpoint.",
* tags={"UserTests"},
* security={{"sanctum":{}}},
* security={{"bearerAuth":{}}},
* @OA\Parameter(
* name="test_id",
* in="query",

View File

@ -2403,7 +2403,7 @@
},
"security": [
{
"sanctum": []
"bearerAuth": []
}
]
},