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:
Chris Hill-Scott
2020-04-15 17:58:57 +01:00
parent 1cebd74403
commit 88734bb74f
6 changed files with 44 additions and 30 deletions

View File

@@ -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']