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 90056d6 commit c63c696
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 @@ -7,7 +7,7 @@ async def auth_error_handler(_: Request, __: Exception) -> JSONResponse:
Automatically return a 403 when an authentication error is raised
:param _:
:param __:
:return: JSONResponse with 404
:return: JSONResponse with 403
"""
return JSONResponse(
status_code=HTTPStatus.FORBIDDEN,
Expand Down

0 comments on commit c63c696

Please sign in to comment.