This commit is contained in:
2025-04-21 13:03:16 +02:00
parent 96bee247d6
commit 7e814f4332
7 changed files with 285 additions and 257 deletions

View File

@@ -40,7 +40,7 @@ def get_by_token(
)
auth_type, token = authorization.split(" ")
if auth_type != "Bearer":
if auth_type != "Token":
raise HTTPException(
detail="Invalid token type provided",
status_code=400,