From a44327f62b1cb5f79178b846985b1a085e7e9b81 Mon Sep 17 00:00:00 2001 From: SaintShit Date: Thu, 26 Dec 2024 23:24:31 +0330 Subject: [PATCH] fix: remove single quotes from error messages --- app/utils/responses.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/utils/responses.py b/app/utils/responses.py index 1e5285f7..e624a787 100644 --- a/app/utils/responses.py +++ b/app/utils/responses.py @@ -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}