mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 22:40:31 -04:00
Bump utils to bring in recent changes to Template classes
The main things we have to account for are: - `WithSubjectTemplate` has gone - every template dictionary must have `template_type` set
This commit is contained in:
@@ -117,6 +117,7 @@ def get_sms_thread(service_id, user_number):
|
||||
'inbound': is_inbound,
|
||||
'content': SMSPreviewTemplate(
|
||||
{
|
||||
'template_type': 'sms',
|
||||
'content': (
|
||||
notification['content'] if is_inbound else
|
||||
notification['template']['content']
|
||||
|
||||
Reference in New Issue
Block a user