mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-05 22:21:34 -04:00
Merge pull request #3772 from alphagov/add-service-notes
Add service notes
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user