Merge pull request #1239 from alphagov/dvla-org-fix

Fix setting and display of letter branding
This commit is contained in:
Chris Hill-Scott
2017-04-24 15:27:03 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -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')
)
)

View File

@@ -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(