Use Firetext client

This commit is contained in:
Rebecca Law
2016-02-17 15:52:09 +00:00
parent 7afa87c367
commit 66cf6cfd30
2 changed files with 7 additions and 7 deletions

View File

@@ -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)