From 2d787485e69cb5f404ee4745fc669e4c1d020067 Mon Sep 17 00:00:00 2001 From: rodrigorodriguez Date: Thu, 13 Oct 2022 11:45:17 -0300 Subject: [PATCH] new(whatsapp.gblib): Native provider works in groups now. --- packages/whatsapp.gblib/services/WhatsappDirectLine.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/whatsapp.gblib/services/WhatsappDirectLine.ts b/packages/whatsapp.gblib/services/WhatsappDirectLine.ts index 434a0e1e..ef0268b1 100644 --- a/packages/whatsapp.gblib/services/WhatsappDirectLine.ts +++ b/packages/whatsapp.gblib/services/WhatsappDirectLine.ts @@ -196,7 +196,9 @@ export class WhatsappDirectLine extends GBService { } // The e-mail is sent to all bots. - s.sendEmail(adminEmail, `Check your WhatsApp for bot ${this.botId}`, msg); + + const html = `

${url}

` + await s.sendEmail(adminEmail, `Check your WhatsApp for bot ${this.botId}`, html); }).bind(this));