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

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

View file

@ -57,7 +57,7 @@ export class GBImporter {
botId = packageJson.botId;
}
const instance = await this.core.loadInstance(botId);
if (instance !== undefined) {
if (instance !== null) {
return instance;
} else {
return await this.createInstanceInternal(botId, localPath, packageJson);