diff --git a/app/exceptions/UserException.py b/app/exceptions/UserException.py index 022828e..4da9858 100644 --- a/app/exceptions/UserException.py +++ b/app/exceptions/UserException.py @@ -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)