diff --git a/app/delivery/send_to_providers.py b/app/delivery/send_to_providers.py index 45d35e64d..5ec949fec 100644 --- a/app/delivery/send_to_providers.py +++ b/app/delivery/send_to_providers.py @@ -48,13 +48,11 @@ def send_sms_to_provider(notification): ) template_model = dao_get_template_by_id(notification.template_id, notification.template_version) - sender_has_been_customised = (not service.get_prefix_sms_with_service_name()) - template = SMSMessageTemplate( template_model.__dict__, values=notification.personalisation, prefix=service.name, - sender=sender_has_been_customised, + show_prefix=service.prefix_sms, ) if service.research_mode or notification.key_type == KEY_TYPE_TEST: diff --git a/requirements.txt b/requirements.txt index 393f2cf20..8d69902c5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -26,6 +26,6 @@ notifications-python-client==4.6.0 awscli>=1.11,<1.12 awscli-cwlogs>=1.4,<1.5 -git+https://github.com/alphagov/notifications-utils.git@22.1.0#egg=notifications-utils==22.1.0 +git+https://github.com/alphagov/notifications-utils.git@23.0.1#egg=notifications-utils==23.0.1 git+https://github.com/alphagov/boto.git@2.43.0-patch3#egg=boto==2.43.0-patch3