Fix auth token
This commit is contained in:
@@ -6,7 +6,7 @@ def send_alert_sms(to_phone: str, room_title: str, room_link: str = None, client
|
|||||||
Sends an SMS alert using Twilio notifying the client of an issue and support room creation.
|
Sends an SMS alert using Twilio notifying the client of an issue and support room creation.
|
||||||
"""
|
"""
|
||||||
account_sid = os.environ.get("TWILIO_SID")
|
account_sid = os.environ.get("TWILIO_SID")
|
||||||
auth_token = os.environ.get("TWILIO_ACCOUNT_SECRET")
|
auth_token = os.environ.get("TWILIO_AUTH_TOKEN")
|
||||||
from_phone = os.environ.get("TWILIO_PHONE_NUMBER") # Requires your Twilio sender phone number
|
from_phone = os.environ.get("TWILIO_PHONE_NUMBER") # Requires your Twilio sender phone number
|
||||||
|
|
||||||
if not account_sid or not auth_token or not from_phone:
|
if not account_sid or not auth_token or not from_phone:
|
||||||
|
|||||||
Reference in New Issue
Block a user