Merge branch 'main' of https://github.com/GeneralBots/BotServer
This commit is contained in:
commit
646fb4a1fa
2 changed files with 13 additions and 0 deletions
|
@ -100,6 +100,7 @@ export class StartDialog {
|
|||
}
|
||||
|
||||
// Prepares the first instance on bot farm.
|
||||
|
||||
const instance = <IGBInstance>{};
|
||||
|
||||
instance.botId = botId;
|
||||
|
|
|
@ -357,6 +357,18 @@ export class AzureDeployerService implements IGBInstallationDeployer {
|
|||
credentials: any,
|
||||
subscriptionId: string
|
||||
): 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 token = credentials['tokenCache']._entries[0];
|
||||
|
|
Loading…
Add table
Reference in a new issue