From 1144d0f640ffe2f1b8d80af20b592a69a8ccce2b Mon Sep 17 00:00:00 2001 From: rodrigorodriguez Date: Tue, 4 Oct 2022 16:03:12 -0300 Subject: [PATCH] new(all): Custom Domain support per bot. --- packages/whatsapp.gblib/services/WhatsappDirectLine.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/whatsapp.gblib/services/WhatsappDirectLine.ts b/packages/whatsapp.gblib/services/WhatsappDirectLine.ts index c59bd29c..ef1db427 100644 --- a/packages/whatsapp.gblib/services/WhatsappDirectLine.ts +++ b/packages/whatsapp.gblib/services/WhatsappDirectLine.ts @@ -208,13 +208,11 @@ export class WhatsappDirectLine extends GBService { GBLog.info(`WhatsApp QR Code authenticated for ${this.botId}.`); }); - - }; await (createClient.bind(this))(this.browserWSEndpoint); - client.initialize(); + await client.initialize(); setUrl = false; }