From 048d938749f5c641043e36b14d5cc352812f0ba5 Mon Sep 17 00:00:00 2001 From: Peter van Doorn <71013416+two-trick-pony-NL@users.noreply.github.com> Date: Sun, 31 Mar 2024 22:46:07 +0200 Subject: [PATCH] Update main.py typo --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 0b77f51..c09a88a 100644 --- a/main.py +++ b/main.py @@ -76,7 +76,7 @@ def transcription_websocket(ws): print(f"Ngrok tunnel opened at {listener.url()} for port {PORT}") NGROK_URL = listener.url() - # Set ngrok URL to ne the webhook for the appropriate Twilio number + # Set ngrok URL to be the webhook for the appropriate Twilio number twilio_numbers = client.incoming_phone_numbers.list() twilio_number_sid = [num.sid for num in twilio_numbers if num.phone_number == TWILIO_NUMBER][0] client.incoming_phone_numbers(twilio_number_sid).update(account_sid, voice_url=f"{NGROK_URL}{INCOMING_CALL_ROUTE}")