From e72b030e9554c6d442de643f73e9a3f19460973f Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Thu, 1 Sep 2022 08:50:04 -0300 Subject: [PATCH] fix(whatsapp.gblib): .gbapp message subprocessing. --- packages/whatsapp.gblib/services/WhatsappDirectLine.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/whatsapp.gblib/services/WhatsappDirectLine.ts b/packages/whatsapp.gblib/services/WhatsappDirectLine.ts index d45ef300..2023621e 100644 --- a/packages/whatsapp.gblib/services/WhatsappDirectLine.ts +++ b/packages/whatsapp.gblib/services/WhatsappDirectLine.ts @@ -983,6 +983,9 @@ export class WhatsappDirectLine extends GBService { else if (provider === "maytapi") { req.body.message = `/start`; } + else { + req.body = `/start`; + } // Resets HEAR ON DIALOG value to none and passes // current dialog to the direct line.