fix(core.gbapp): Bot creation can be fully automated after MSFT finished their issues.

This commit is contained in:
Rodrigo Rodriguez 2020-02-27 20:49:05 -03:00
parent 3171911c78
commit f5e0835cc3

View file

@ -171,7 +171,7 @@ export class GBDeployer {
const accessToken = await GBAdminService.getADALTokenFromUsername(username, password);
const service = new AzureDeployerService(this);
let application = service.createApplication(accessToken, botId);
let application = await service.createApplication(accessToken, botId);
instance.marketplaceId = (application as any).appId;
instance.marketplacePassword = (application as any).passwordCredentials[0];