fix(basic.gblib): update ChatServices.ts #420

Closed
eltociear wants to merge 2540 commits from patch-1 into main
Showing only changes of commit 423cf368ca - Show all commits

View file

@ -388,7 +388,7 @@ export class GBMinService {
GBLog.info(`A WhatsApp mobile requested instance for: ${botId}.`); GBLog.info(`A WhatsApp mobile requested instance for: ${botId}.`);
let urlMin: any = GBServer.globals.minInstances.filter let urlMin: any = GBServer.globals.minInstances.filter
(p => p.instance.botId === botId); (p => p.instance.botId === botId)[0];
const botNumber = urlMin.core.getParam(urlMin.instance, 'Bot Number', null); const botNumber = urlMin.core.getParam(urlMin.instance, 'Bot Number', null);