Skip to content

Commit

Permalink
fix exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
violetaperezandrade committed Apr 19, 2024
1 parent bd316a7 commit 32d4b00
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/exceptions/UserException.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ def __init__(self):


class InvalidURL(HTTPException):
def __init__(self, id: int):
def __init__(self, detail: str):
status_code = status.HTTP_400_BAD_REQUEST
detail = "Invalid URL"
super().__init__(status_code=status_code, detail=detail)

0 comments on commit 32d4b00

Please sign in to comment.