Rename variable, it's a better name now.

This commit is contained in:
Rebecca Law
2021-02-17 13:15:29 +00:00
parent e77534fb17
commit 77b76ea0a4
5 changed files with 6 additions and 6 deletions

View File

@@ -179,7 +179,7 @@ class Config(object):
MOU_SIGNED_ON_BEHALF_SIGNER_RECEIPT_TEMPLATE_ID = 'c20206d5-bf03-4002-9a90-37d5032d9e84'
MOU_SIGNED_ON_BEHALF_ON_BEHALF_RECEIPT_TEMPLATE_ID = '522b6657-5ca5-4368-a294-6b527703bd0b'
MOU_NOTIFY_TEAM_ALERT_TEMPLATE_ID = 'd0e66c4c-0c50-43f0-94f5-f85b613202d4'
NOTIFY_NUMBER_SMS_SENDER = '07984404008'
NOTIFY_INTERNATIONAL_SMS_SENDER = '07984404008'
BROKER_URL = 'sqs://'
BROKER_TRANSPORT_OPTIONS = {

View File

@@ -108,7 +108,7 @@ def update_user_attribute(user_id):
if is_uk_phone_number(recipient):
reply_to = template.service.get_default_sms_sender()
else:
reply_to = current_app.config['NOTIFY_NUMBER_SMS_SENDER']
reply_to = current_app.config['NOTIFY_INTERNATIONAL_SMS_SENDER']
else:
return jsonify(data=user_to_update.serialize()), 200
service = Service.query.get(current_app.config['NOTIFY_SERVICE_ID'])
@@ -274,7 +274,7 @@ def create_2fa_code(template_id, user_to_send_to, secret_code, recipient, person
if is_uk_phone_number(recipient):
reply_to = template.service.get_default_sms_sender()
else:
reply_to = current_app.config['NOTIFY_NUMBER_SMS_SENDER']
reply_to = current_app.config['NOTIFY_INTERNATIONAL_SMS_SENDER']
elif template.template_type == EMAIL_TYPE:
reply_to = template.service.get_default_reply_to_email_address()
saved_notification = persist_notification(