mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-03 21:21:14 -04:00
Merge pull request #1239 from alphagov/dvla-org-fix
Fix setting and display of letter branding
This commit is contained in:
@@ -45,7 +45,7 @@ def service_settings(service_id):
|
||||
'views/service-settings.html',
|
||||
organisation=organisation,
|
||||
letter_branding=letter_branding_organisations.get(
|
||||
current_service.get('dvla_org_id', '001')
|
||||
current_service.get('dvla_organisation', '001')
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
@@ -92,7 +92,7 @@ class ServiceAPIClient(NotifyAdminAPIClient):
|
||||
'branding',
|
||||
'organisation',
|
||||
'letter_contact_block',
|
||||
'dvla_org_id',
|
||||
'dvla_organisation',
|
||||
}
|
||||
if disallowed_attributes:
|
||||
raise TypeError('Not allowed to update service attributes: {}'.format(
|
||||
|
||||
Reference in New Issue
Block a user