API Messages Syntax Fix
This commit is contained in:
parent
cfdcc038db
commit
5c660a73e2
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue