Fix bug where preview for templated letters would not show

This commit is contained in:
Pea Tyczynska
2020-04-20 15:22:49 +01:00
parent c0343324c4
commit 7a89b1b835
3 changed files with 6 additions and 3 deletions

View File

@@ -288,7 +288,8 @@ def preview_letter_template_by_notification_id(service_id, notification_id, file
"id": str(notification.template_id),
"subject": template.subject,
"content": template.content,
"version": str(template.version)
"version": str(template.version),
"template_type": template.template_type
}
service = dao_fetch_service_by_id(service_id)