fix(services): update condition in GBMinService to simplify WhatsApp Direct Line setup
This commit is contained in:
parent
8a1eeb1b05
commit
f1f045bb88
1 changed files with 1 additions and 1 deletions
|
|
@ -941,7 +941,7 @@ export class GBMinService {
|
||||||
|
|
||||||
await min.whatsAppDirectLine.setup(true);
|
await min.whatsAppDirectLine.setup(true);
|
||||||
} else {
|
} else {
|
||||||
if (min !== minBoot && minBoot.instance.whatsappServiceKey && min.instance.webchatKey) {
|
if (min !== minBoot && minBoot.instance.whatsappServiceKey) {
|
||||||
min.whatsAppDirectLine = new WhatsappDirectLine(
|
min.whatsAppDirectLine = new WhatsappDirectLine(
|
||||||
min,
|
min,
|
||||||
min.botId,
|
min.botId,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue