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:
|
try:
|
||||||
client = Client(account_sid, auth_token)
|
client = Client(account_sid, auth_token)
|
||||||
message = client.messages.create(
|
message = client.messages.create(
|
||||||
body="sms_event_notifications",
|
to="+32492857876",
|
||||||
from_=from_phone,
|
from_="+4915888620339",
|
||||||
to="+32492857876"
|
body="sms_account_alerts",
|
||||||
)
|
)
|
||||||
print(f"SMS sent successfully to {to_phone}. Message SID: {message.sid}")
|
print(f"SMS sent successfully to {to_phone}. Message SID: {message.sid}")
|
||||||
return True
|
return True
|
||||||
|
|||||||
Reference in New Issue
Block a user