From 603decd10974e908583c8aaa735508762afafe52 Mon Sep 17 00:00:00 2001 From: bipproduction Date: Thu, 23 Oct 2025 17:49:27 +0800 Subject: [PATCH] tambahannya --- src/server/routes/wa_hook_route.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/server/routes/wa_hook_route.ts b/src/server/routes/wa_hook_route.ts index ac13c31..7d061b9 100644 --- a/src/server/routes/wa_hook_route.ts +++ b/src/server/routes/wa_hook_route.ts @@ -187,6 +187,9 @@ async function flowAiImage({ } } + + + const WaHookRoute = new Elysia({ prefix: "/wa-hook", tags: ["WhatsApp Hook"], @@ -237,6 +240,7 @@ const WaHookRoute = new Elysia({ const webhook = client.parseWebhook(body); logger.info(`[POST] Webhook Type: ${webhook[0]?.type}`); + console.log("ada data masuk ...", webhook[0]?.type) if (webhook[0]?.type === WhatsAppMessageType.TEXT) { const messageQuestion = webhook[0]?.text;