From 6bb47db4924e5c2dd04d85fb4e8de28f30d1c2ff Mon Sep 17 00:00:00 2001 From: aserrador Date: Sun, 5 Apr 2026 11:03:35 -0500 Subject: [PATCH] fix: hardcode server_url on send message --- src/naliiabotapi/api/v1/webhooks/chat_hook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/naliiabotapi/api/v1/webhooks/chat_hook.py b/src/naliiabotapi/api/v1/webhooks/chat_hook.py index 6109c63..8698a03 100644 --- a/src/naliiabotapi/api/v1/webhooks/chat_hook.py +++ b/src/naliiabotapi/api/v1/webhooks/chat_hook.py @@ -15,7 +15,7 @@ async def send_whatsapp_message(request_data: SendMessageScheme): Envía un mensaje de texto a través de la API de WhatsApp. """ - instance_url = request_data["server_url"] + instance_url = request_data["instance_url"] instance_name = request_data["instance_name"] apikey = request_data["apikey"] jid = request_data["jid"]