From 507ba86972d8751986b61929c6782f53eeeb9467 Mon Sep 17 00:00:00 2001 From: pedro-php Date: Fri, 25 Apr 2025 14:48:38 -0300 Subject: [PATCH] logs --- .../integrations/channel/whatsapp/whatsapp.baileys.service.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts b/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts index 9bc01ee6..fb38e8ff 100644 --- a/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts +++ b/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts @@ -1364,8 +1364,11 @@ export class BaileysStartupService extends ChannelStartupService { } } + console.log("1 - DEBUG MESSAGE RAW"); if (this.localWebhook.enabled) { + console.log("2 - DEBUG MESSAGE RAW", {isMedia, webhookBase64: this.localWebhook.webhookBase64}); if (isMedia && this.localWebhook.webhookBase64) { + console.log("1 - DEBUG MESSAGE RAW"); try { console.dir({ key: received.key, message: received.message }, { depth: null }); const buffer = await downloadMediaMessage(