fix(whatsapp.gblib): Fix in bot switching.

This commit is contained in:
Rodrigo Rodriguez 2023-09-03 16:33:08 -03:00
parent fb96a3f7c5
commit 55d718c05c

View file

@ -120,7 +120,9 @@ export class GBImporter {
settingsJson: any
) {
const fullSettingsJson = { ...GBServer.globals.bootInstance, ...settingsJson };
const fullSettingsJson = { ...GBServer.globals.bootInstance, ...settingsJson,
description:"General Bot"
};
if (botId !== undefined) {
fullSettingsJson.botId = botId;