[manual] Use "subscriptions" for {add,list}_subscriptions consistently.

This change requires a zephyr_mirror deployment when it is pushed to prod.

(imported from commit a31d6efd2db4d4617c7c6b00326be3f07c7263da)
This commit is contained in:
Tim Abbott 2012-11-16 13:43:27 -05:00
parent 584743eca8
commit bd63afef5c

View file

@ -107,7 +107,7 @@ class HumbugAPI():
return self.do_api_query(request, "/api/v1/subscriptions/list")
def add_subscriptions(self, streams):
request = {'streams': streams}
request = {'subscriptions': streams}
return self.do_api_query(request, "/api/v1/subscriptions/add")
def call_on_each_message(self, callback, options = {}):