Use new default letter contact in the DVLA celery task

This commit is contained in:
Imdad Ahad
2017-09-26 15:06:09 +01:00
committed by Katie Smith
parent 84d7e93b9b
commit d21d9cabd1
2 changed files with 25 additions and 12 deletions

View File

@@ -370,7 +370,7 @@ def create_dvla_file_contents_for_notifications(notifications):
notification.template.__dict__,
notification.personalisation,
notification_reference=notification.reference,
contact_block=notification.service.letter_contact_block,
contact_block=notification.service.get_default_letter_contact(),
org_id=notification.service.dvla_organisation.id,
))
for notification in notifications