fix(whatsapp.gblib): Fix in bot switching.
This commit is contained in:
parent
fb96a3f7c5
commit
55d718c05c
1 changed files with 3 additions and 1 deletions
|
@ -120,7 +120,9 @@ export class GBImporter {
|
||||||
settingsJson: any
|
settingsJson: any
|
||||||
) {
|
) {
|
||||||
|
|
||||||
const fullSettingsJson = { ...GBServer.globals.bootInstance, ...settingsJson };
|
const fullSettingsJson = { ...GBServer.globals.bootInstance, ...settingsJson,
|
||||||
|
description:"General Bot"
|
||||||
|
};
|
||||||
|
|
||||||
if (botId !== undefined) {
|
if (botId !== undefined) {
|
||||||
fullSettingsJson.botId = botId;
|
fullSettingsJson.botId = botId;
|
||||||
|
|
Loading…
Add table
Reference in a new issue