mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 09:26:08 -05:00
Use Firetext client
This commit is contained in:
@@ -37,6 +37,6 @@ def send_sms_code(encrypted_notification):
|
||||
notification = encryption.decrypt(encrypted_notification)
|
||||
|
||||
try:
|
||||
twilio_client.send_sms(notification['to'], notification['secret_code'])
|
||||
except TwilioClientException as e:
|
||||
firetext_client.send_sms(notification['to'], notification['secret_code'])
|
||||
except FiretextClientException as e:
|
||||
current_app.logger.debug(e)
|
||||
|
||||
Reference in New Issue
Block a user