fix(all): Create bot working again.
This commit is contained in:
parent
fc28eb9ec0
commit
ed74c5b003
1 changed files with 15 additions and 15 deletions
|
@ -170,7 +170,7 @@ export class GBAdminService implements IGBAdminService {
|
|||
// .gbot packages are handled using storage API, so no download
|
||||
// of local resources is required.
|
||||
const gbai = DialogKeywords.getGBAIPath(min.instance.botId);
|
||||
await deployer ['downloadFolder'](min,
|
||||
await deployer['downloadFolder'](min,
|
||||
Path.join('work', `${gbai}`),
|
||||
Path.basename(localFolder));
|
||||
await deployer['deployPackage2'](min, user, localFolder);
|
||||
|
@ -226,7 +226,7 @@ export class GBAdminService implements IGBAdminService {
|
|||
|
||||
public async acquireElevatedToken(instanceId: number, root: boolean = false): Promise<string> {
|
||||
|
||||
if (root){
|
||||
if (root) {
|
||||
const minBoot = GBServer.globals.minBoot;
|
||||
instanceId = minBoot.instance.instanceId;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue