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

Closed
eltociear wants to merge 2540 commits from patch-1 into main
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 917c8ac58e - Show all commits

View file

@ -560,7 +560,7 @@ export class GBDeployer implements IGBDeployer {
}); });
} }
public async deployPackage(min: GBMinInstance, localPath: string) { public async deployPackage(min: GBMinInstance, localPath: string) {
// TODO: @alanperdomo: Adjust interface mismatch. // TODO: Adjust interface mismatch.
} }
/** /**
* Deploys a folder into the bot storage. * Deploys a folder into the bot storage.

View file

@ -1020,7 +1020,7 @@ export class KBService implements IGBKBService {
const instance = await core.loadInstanceByBotId(min.botId); const instance = await core.loadInstanceByBotId(min.botId);
GBLog.info(`[GBDeployer] Importing: ${localPath}`); GBLog.info(`[GBDeployer] Importing: ${localPath}`);
await deployer.undeployPackageFromLocalPath(instance, packageName); await deployer.undeployPackageFromLocalPath(instance, localPath);
const p = await deployer.deployPackageToStorage(instance.instanceId, packageName); const p = await deployer.deployPackageToStorage(instance.instanceId, packageName);
await this.importKbPackage(min, localPath, p, instance); await this.importKbPackage(min, localPath, p, instance);