Fix for updating service name.

This commit is contained in:
Nicholas Staples
2016-01-22 15:26:56 +00:00
parent 44cb480375
commit 81cd0cc7c3

View File

@@ -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):
"""