Skip to content

Commit

Permalink
Update src/exception_handlers.py
Browse files Browse the repository at this point in the history
Co-authored-by: Samuel Jones <[email protected]>
  • Loading branch information
keiranjprice101 and Pasarus authored Jun 13, 2024
1 parent c0902bc commit 90056d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exception_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ async def auth_error_handler(_: Request, __: Exception) -> JSONResponse:
:return: JSONResponse with 404
"""
return JSONResponse(
status_code=403,
status_code=HTTPStatus.FORBIDDEN,
content={"message": "Forbidden"},
)

0 comments on commit 90056d6

Please sign in to comment.