Skip to content

Commit 4d92491

Browse files
Update apps/api/app.py
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
1 parent d293628 commit 4d92491

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/api/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ async def _verify_api_key(api_key: Optional[str] = Depends(api_key_header)) -> N
124124
)
125125
if api_key not in expected_tokens:
126126
raise HTTPException(
127-
status_code=403, detail="Invalid API token"
127+
status_code=401, detail="Invalid API token"
128128
)
129129
return
130130
if auth_strategy == "jwt":

0 commit comments

Comments
 (0)