Commit c59ee96e authored by nimrod's avatar nimrod
Browse files

fixup! Migrate to another SMS sending service.

parent a7b550f8
Loading
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -10,9 +10,10 @@ TO_NUMBER = os.environ["TO_NUMBER"]
def handler(event, context):
    message = event["Records"][0]["Sns"]["Message"]
    client = messagebird.Client(MSGBIRD_ACCESS_KEY)
    client.messages_create(
        message,
        TO_NUMBER,
    client.message_create(
        originator="Am I Live",
        recipients=TO_NUMBER,
        body=message,
    )