From 5c660a73e2058b4fd2c18a1879f4c18c03b4bfd1 Mon Sep 17 00:00:00 2001 From: Sagi Dayan Date: Thu, 2 Jul 2015 15:49:30 +0300 Subject: [PATCH] API Messages Syntax Fix --- SE_API/MessageRoutes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")