From e10b7f1decdae5379aa9f4d35a1b44f0243d5f85 Mon Sep 17 00:00:00 2001 From: aserrador Date: Sun, 5 Apr 2026 10:27:11 -0500 Subject: [PATCH] fix: Hardcode server_url --- src/naliiabotapi/api/v1/webhooks/chat_hook.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/naliiabotapi/api/v1/webhooks/chat_hook.py b/src/naliiabotapi/api/v1/webhooks/chat_hook.py index 7b56458..6109c63 100644 --- a/src/naliiabotapi/api/v1/webhooks/chat_hook.py +++ b/src/naliiabotapi/api/v1/webhooks/chat_hook.py @@ -14,8 +14,8 @@ 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["instance_url"] - instance_url = "http://192.168.58.109:8080" + + instance_url = request_data["server_url"] instance_name = request_data["instance_name"] apikey = request_data["apikey"] jid = request_data["jid"]