Debug
This commit is contained in:
@@ -8,6 +8,8 @@ def send_alert_sms(to_phone: str, room_title: str, room_link: str = None, client
|
||||
account_sid = os.environ.get("TWILIO_SID")
|
||||
auth_token = os.environ.get("TWILIO_AUTH_TOKEN")
|
||||
from_phone = os.environ.get("TWILIO_PHONE_NUMBER") # Requires your Twilio sender phone number
|
||||
print(account_sid)
|
||||
print(auth_token)
|
||||
|
||||
if not account_sid or not auth_token or not from_phone:
|
||||
print("Twilio environment variables (TWILIO_SID, TWILIO_ACCOUNT_SECRET, TWILIO_PHONE_NUMBER) missing.")
|
||||
|
||||
Reference in New Issue
Block a user