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

This commit is contained in:
Rodrigo Rodriguez 2023-09-03 16:33:08 -03:00
parent 6c0a86f1b0
commit 766d355f47

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;