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:
Katie Smith
2018-10-23 15:52:44 +01:00
parent 08caaec0f8
commit 022b5b19ff
3 changed files with 2 additions and 9 deletions

View File

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