[fix]: HTTP response status code

This commit is contained in:
VivianDee
2025-03-21 11:24:47 +01:00
parent f2c688c3e8
commit c0680b3098
2 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ class ResponseHelper:
"data": data if data is not None else {},
"error": error if error is not None else {},
}
return response
return jsonify(response), status_code
@staticmethod
def success(