Update save_letter task to save the default letter contact block when creating the notification.

This commit is contained in:
Rebecca Law
2017-11-27 11:33:04 +00:00
parent 5450af661e
commit 12024e9619
4 changed files with 24 additions and 12 deletions

View File

@@ -303,7 +303,8 @@ def save_letter(
job_id=notification['job'],
job_row_number=notification['row_number'],
notification_id=notification_id,
reference=create_random_identifier()
reference=create_random_identifier(),
reply_to_text=service.get_default_letter_contact()
)
current_app.logger.info("Letter {} created at {}".format(saved_notification.id, saved_notification.created_at))