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

This commit is contained in:
Rodrigo Rodriguez 2022-07-09 01:18:36 -03:00
parent 423cf368ca
commit 76b862cbde

View file

@ -390,7 +390,7 @@ export class GBMinService {
let urlMin: any = GBServer.globals.minInstances.filter
(p => p.instance.botId === botId)[0];
const botNumber = urlMin.core.getParam(urlMin.instance, 'Bot Number', null);
const botNumber = urlMin ? urlMin.core.getParam(urlMin.instance, 'Bot Number', null) : null;
let activeMin;