Skip to content

Commit

Permalink
Change status code to 400
Browse files Browse the repository at this point in the history
  • Loading branch information
HamadaSalhab committed Nov 15, 2024
1 parent 5c46717 commit 901bec8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
QueryException: partialclass(HTTPException, status_code=400),
ValidationError: partialclass(HTTPException, status_code=400),
TypeError: partialclass(HTTPException, status_code=400),
AssertionError: lambda e: HTTPException(status_code=429, detail=str(e)),
AssertionError: lambda e: HTTPException(status_code=400, detail=str(e)),
}
)
@wrap_in_class(
Expand Down

0 comments on commit 901bec8

Please sign in to comment.