Commit 0b1a4d5c by Dan Robinson

fix push; passes TestPush unit tests

parent c724b914
...@@ -59,7 +59,7 @@ class Push(ParseResource): ...@@ -59,7 +59,7 @@ class Push(ParseResource):
# allow channels to be specified even if "where" is as well # allow channels to be specified even if "where" is as well
if "channels" in kw: if "channels" in kw:
kw['where']["channels"] = kw.pop("channels") kw['where']["channels"] = {"$in": kw.pop("channels")}
return cls.POST('', data=data, **kw) return cls.POST('', data=data, **kw)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment