mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
Merge pull request #1405 from alphagov/bump_utils_2301
Bump utils to 23.0.1
This commit is contained in:
@@ -48,13 +48,11 @@ def send_sms_to_provider(notification):
|
|||||||
)
|
)
|
||||||
template_model = dao_get_template_by_id(notification.template_id, notification.template_version)
|
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 = SMSMessageTemplate(
|
||||||
template_model.__dict__,
|
template_model.__dict__,
|
||||||
values=notification.personalisation,
|
values=notification.personalisation,
|
||||||
prefix=service.name,
|
prefix=service.name,
|
||||||
sender=sender_has_been_customised,
|
show_prefix=service.prefix_sms,
|
||||||
)
|
)
|
||||||
|
|
||||||
if service.research_mode or notification.key_type == KEY_TYPE_TEST:
|
if service.research_mode or notification.key_type == KEY_TYPE_TEST:
|
||||||
|
|||||||
@@ -26,6 +26,6 @@ notifications-python-client==4.6.0
|
|||||||
awscli>=1.11,<1.12
|
awscli>=1.11,<1.12
|
||||||
awscli-cwlogs>=1.4,<1.5
|
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
|
git+https://github.com/alphagov/boto.git@2.43.0-patch3#egg=boto==2.43.0-patch3
|
||||||
|
|||||||
Reference in New Issue
Block a user