From eb994ff18931b00fcc659864b53536204f0a1369 Mon Sep 17 00:00:00 2001 From: Nicholas Staples Date: Tue, 8 Mar 2016 10:40:07 +0000 Subject: [PATCH] Change put to post for service update. --- app/notify_client/api_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/notify_client/api_client.py b/app/notify_client/api_client.py index 6d2a2016a..719f015b5 100644 --- a/app/notify_client/api_client.py +++ b/app/notify_client/api_client.py @@ -68,7 +68,7 @@ class NotificationsAdminAPIClient(NotificationsAPIClient): "users": users } endpoint = "/service/{0}".format(service_id) - return self.put(endpoint, data) + return self.post(endpoint, data) def create_service_template(self, name, type_, content, service_id, subject=None): """