mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 05:59:44 -04:00
Pass letter logo filename to template preview
We now pass through `filename` to the Template Preview `/preview.<filetype>' endpoint in addition to the `dvla_org_id`. Template Preview will be changed to only use `filename`, and once this has been done, we can change the code to only pass through `dvla_org_id` instead of passing through both pieces of information.
This commit is contained in:
@@ -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