Change put to post for service update.

This commit is contained in:
Nicholas Staples
2016-03-08 10:40:07 +00:00
parent 5f28d943a4
commit eb994ff189

View File

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