new(whatsapp.gblib): Multiple providers can be loaded at once.

This commit is contained in:
Rodrigo Rodriguez 2022-07-07 12:29:12 -03:00
parent 4ccda04bcb
commit 01d6c84ca0

View file

@ -87,7 +87,7 @@ export class WhatsappDirectLine extends GBService {
this.whatsappServiceKey = whatsappServiceKey;
this.whatsappServiceNumber = whatsappServiceNumber;
this.whatsappServiceUrl = whatsappServiceUrl;
this.chatapi = whatsappServiceNumber.indexOf(':') > -1 ? true : false;
this.chatapi = whatsappServiceNumber.indexOf(';') > -1 ? true : false;
}
public static async asyncForEach(array, callback) {