diff --git a/SE_API/MessageRoutes.py b/SE_API/MessageRoutes.py index 4bdd08d..6a3204b 100644 --- a/SE_API/MessageRoutes.py +++ b/SE_API/MessageRoutes.py @@ -155,7 +155,7 @@ def getMessagesByGroup(token, groupId): query = Message.all() try: - query.filter("groupId = ", int(groupId)) + query.filter("groupId =", int(groupId)) except Exception as e: return bad_request("Bad id format")