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

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

View file

@ -100,6 +100,7 @@ export class StartDialog {
} }
// Prepares the first instance on bot farm. // Prepares the first instance on bot farm.
const instance = <IGBInstance>{}; const instance = <IGBInstance>{};
instance.botId = botId; instance.botId = botId;

View file

@ -350,13 +350,23 @@ export class AzureDeployerService implements IGBInstallationDeployer {
}; };
await this.storageClient.firewallRules.createOrUpdate(groupName, serverName, 'gb', params); await this.storageClient.firewallRules.createOrUpdate(groupName, serverName, 'gb', params);
} }
public async deployFarm( public async deployFarm(
proxyAddress: string, proxyAddress: string,
instance: IGBInstance, instance: IGBInstance,
credentials: any, credentials: any,
subscriptionId: string subscriptionId: string
): Promise<IGBInstance> { ): Promise<IGBInstance> {
return await this.deployFarm2(proxyAddress,
instance,
credentials,
subscriptionId);
}
public async deployFarm2(
proxyAddress: string,
instance: IGBInstance,
credentials: any,
subscriptionId: string
){
const culture = 'en-us'; const culture = 'en-us';
const token = credentials['tokenCache']._entries[0]; const token = credentials['tokenCache']._entries[0];