mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 23:55:58 -05:00
Stop passing dvla_org_id to template preview
We were passing both dvla_org_id and filename to template-preview temporarily while we switch to only using filename. Now that template-preview is set up to use the filename, we can stop sending the dvla_org_id too.
This commit is contained in:
@@ -248,7 +248,6 @@ def preview_letter_template_by_notification_id(service_id, notification_id, file
|
||||
'values': notification.personalisation,
|
||||
'date': notification.created_at.isoformat(),
|
||||
'filename': service.dvla_organisation.filename,
|
||||
'dvla_org_id': service.dvla_organisation_id,
|
||||
}
|
||||
|
||||
url = '{}/preview.{}{}'.format(
|
||||
|
||||
Reference in New Issue
Block a user