return replaced subject back from send_notification API

This commit is contained in:
Leo Hemsted
2016-06-21 15:03:33 +01:00
parent fa20e67941
commit 5cd3043fc5
2 changed files with 13 additions and 12 deletions

View File

@@ -365,7 +365,7 @@ def get_notification_return_data(notification_id, notification, template):
}
if template.template_type == 'email':
output.update({'subject': template.subject})
output.update({'subject': template.replaced_subject})
return output