mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-03-02 07:11:14 -05:00
Fix setting and display of letter branding
API and Admin were not using the same name for the organisation ID that we have set with DVLA.
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