diff --git a/api/blueprints/chat/auth.py b/api/blueprints/chat/auth.py index 92fea31..537943c 100644 --- a/api/blueprints/chat/auth.py +++ b/api/blueprints/chat/auth.py @@ -221,7 +221,7 @@ async def callback_test( # print("TG BOT:", json.to_string(client_response)) client_response = await set_telegram_webhook( bot_token = inbound_data.auth.botToken, - webhook_url = r"https://nexcom.ditscentre.in/test/callback" + webhook_url = f"https://nexcom.ditscentre.in/chat/webhook/{inbound_data.auth.botToken}" ) return "ok"