API Messages Syntax Fix

This commit is contained in:
Sagi Dayan 2015-07-02 15:49:30 +03:00
parent cfdcc038db
commit 5c660a73e2

View file

@ -155,7 +155,7 @@ def getMessagesByGroup(token, groupId):
query = Message.all() query = Message.all()
try: try:
query.filter("groupId = ", int(groupId)) query.filter("groupId =", int(groupId))
except Exception as e: except Exception as e:
return bad_request("Bad id format") return bad_request("Bad id format")