[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:
parent
584743eca8
commit
bd63afef5c
|
@ -107,7 +107,7 @@ class HumbugAPI():
|
||||||
return self.do_api_query(request, "/api/v1/subscriptions/list")
|
return self.do_api_query(request, "/api/v1/subscriptions/list")
|
||||||
|
|
||||||
def add_subscriptions(self, streams):
|
def add_subscriptions(self, streams):
|
||||||
request = {'streams': streams}
|
request = {'subscriptions': streams}
|
||||||
return self.do_api_query(request, "/api/v1/subscriptions/add")
|
return self.do_api_query(request, "/api/v1/subscriptions/add")
|
||||||
|
|
||||||
def call_on_each_message(self, callback, options = {}):
|
def call_on_each_message(self, callback, options = {}):
|
||||||
|
|
Loading…
Reference in a new issue