From 81cd0cc7c347f8a8e7dbd0e8143add948419539d Mon Sep 17 00:00:00 2001 From: Nicholas Staples Date: Fri, 22 Jan 2016 15:26:56 +0000 Subject: [PATCH] Fix for updating service name. --- 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 2ec75b79f..5cb425316 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, update_dict) + return self.put(endpoint, data) def create_service_template(self, name, type_, content, service_id): """