mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 13:39:41 -04:00
Merge pull request #1234 from alphagov/letter-branding
Add platform admin setting for letter branding
This commit is contained in:
@@ -16,3 +16,6 @@ class OrganisationsClient(NotifyAdminAPIClient):
|
||||
|
||||
def get_organisations(self):
|
||||
return self.get(url='/organisation')['organisations']
|
||||
|
||||
def get_letter_organisations(self):
|
||||
return self.get(url='/dvla_organisations')
|
||||
|
||||
@@ -91,7 +91,8 @@ class ServiceAPIClient(NotifyAdminAPIClient):
|
||||
'created_by',
|
||||
'branding',
|
||||
'organisation',
|
||||
'letter_contact_block'
|
||||
'letter_contact_block',
|
||||
'dvla_org_id',
|
||||
}
|
||||
if disallowed_attributes:
|
||||
raise TypeError('Not allowed to update service attributes: {}'.format(
|
||||
|
||||
Reference in New Issue
Block a user