mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-16 20:48:37 -04:00
Incorporate breaking utils changes
The `.replaced…` methods on instances of `Template` were removed in https://github.com/alphagov/notifications-utils/pull/84
This commit is contained in:
@@ -22,7 +22,7 @@ def create_content_for_notification(template, personalisation):
|
||||
check_placeholders(template_object)
|
||||
|
||||
if template_object.template_type == SMS_TYPE:
|
||||
check_sms_content_char_count(template_object.replaced_content_count)
|
||||
check_sms_content_char_count(template_object.content_count)
|
||||
return template_object
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user