mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-04 21:51:43 -04:00
Merge pull request #2394 from alphagov/send-letter-filename-to-template-preview
Pass letter logo filename to template preview
This commit is contained in:
@@ -278,6 +278,7 @@ class Service(dict):
|
||||
'id',
|
||||
'inbound_api',
|
||||
'letter_contact_block',
|
||||
'letter_logo_filename',
|
||||
'message_limit',
|
||||
'name',
|
||||
'organisation_type',
|
||||
|
||||
@@ -11,6 +11,7 @@ class TemplatePreview:
|
||||
'letter_contact_block': template.get('reply_to_text', ''),
|
||||
'template': template,
|
||||
'values': values,
|
||||
'filename': current_service.letter_logo_filename,
|
||||
'dvla_org_id': current_service.dvla_organisation,
|
||||
}
|
||||
resp = requests.post(
|
||||
|
||||
Reference in New Issue
Block a user