Harcode from
This commit is contained in:
@@ -36,9 +36,9 @@ def send_alert_sms(to_phone: str, room_title: str, room_link: str = None, client
|
||||
try:
|
||||
client = Client(account_sid, auth_token)
|
||||
message = client.messages.create(
|
||||
body="sms_event_notifications",
|
||||
from_=from_phone,
|
||||
to="+32492857876"
|
||||
to="+32492857876",
|
||||
from_="+4915888620339",
|
||||
body="sms_account_alerts",
|
||||
)
|
||||
print(f"SMS sent successfully to {to_phone}. Message SID: {message.sid}")
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user