From 3a2429486a9094060ce32598585f5e1dce2d68c7 Mon Sep 17 00:00:00 2001 From: josedario87 Date: Wed, 4 Jun 2025 22:36:06 -0600 Subject: [PATCH] trtando de lgoear el debug --- whatsapp-router/src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/whatsapp-router/src/index.ts b/whatsapp-router/src/index.ts index ed9f069..1490b61 100644 --- a/whatsapp-router/src/index.ts +++ b/whatsapp-router/src/index.ts @@ -111,6 +111,8 @@ async function registerWebhook() { app.use(express.json()); app.post('/webhook', async (req: express.Request, res: express.Response) => { + log('info', 'webhook received'); + const { message, text, from } = req.body as { message?: WhatsAppMessage; text?: string; from?: string }; const incoming = message || text;