From bd63afef5cae4f136f63fb10301569e5f9674022 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Fri, 16 Nov 2012 13:43:27 -0500 Subject: [PATCH] [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) --- common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.py b/common.py index 9696b69..8902748 100644 --- a/common.py +++ b/common.py @@ -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 = {}):