Merge pull request #3772 from alphagov/add-service-notes

Add service notes
This commit is contained in:
Pea Tyczynska
2021-01-20 17:19:22 +00:00
committed by GitHub
11 changed files with 137 additions and 7 deletions

View File

@@ -109,12 +109,12 @@ class ServiceAPIClient(NotifyAdminAPIClient):
'go_live_user',
'go_live_at',
'rate_limit',
'notes',
}
if disallowed_attributes:
raise TypeError('Not allowed to update service attributes: {}'.format(
", ".join(disallowed_attributes)
))
endpoint = "/service/{0}".format(service_id)
return self.post(endpoint, data)