From c8866770b44be689b0523fd246137b64ed214d18 Mon Sep 17 00:00:00 2001 From: Federico Jose Pacheco <51347305+fjpacheco@users.noreply.github.com> Date: Fri, 7 Jun 2024 17:51:36 -0300 Subject: [PATCH] [hotfix] HTTP_204_OK (#28) HTTP_204_OK --- app/controller/Users.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controller/Users.py b/app/controller/Users.py index 8192116..80de837 100644 --- a/app/controller/Users.py +++ b/app/controller/Users.py @@ -30,10 +30,10 @@ def handle_get_users(self, query_params: dict): }) ) return JSONResponse( - status_code=status.HTTP_204_OK, + status_code=status.HTTP_204_NO_CONTENT, content=jsonable_encoder({ "message": "no users found", - "status": status.HTTP_204_OK, + "status": status.HTTP_204_NO_CONTENT, }) )