Skip to content

Commit

Permalink
fix: remove single quotes from error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
SaintShit committed Dec 26, 2024
1 parent 5a855f2 commit a44327f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/utils/responses.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ class Unauthorized(HTTPException):


class Forbidden(HTTPException):
detail: str = "You're not allowed 'to ...'"
detail: str = "You are not allowed to ..."


class NotFound(HTTPException):
detail: str = "'Entity' '{}' not found"
detail: str = "Entity {} not found"


class Conflict(HTTPException):
detail: str = "'Entity' already exists"
detail: str = "Entity already exists"


_400 = {"description": "Bad request", "model": HTTPException}
Expand Down

0 comments on commit a44327f

Please sign in to comment.