fix(azuredeployer.gbapp): Fix webchat keys.
This commit is contained in:
parent
bc9b31fba7
commit
438fc33f25
1 changed files with 5 additions and 1 deletions
|
@ -723,7 +723,11 @@ export class GBVMService extends GBService {
|
|||
|
||||
let variables = [];
|
||||
|
||||
variables['aadToken'] = await (min.adminService as any)['acquireElevatedToken'](min.instance.instanceId, false);
|
||||
try {
|
||||
variables['aadToken'] = await (min.adminService as any)['acquireElevatedToken'](min.instance.instanceId, false);
|
||||
} catch (error) {
|
||||
variables['aadToken'] = 'ERROR: Configure /setupSecurity before using aadToken variable.';
|
||||
}
|
||||
|
||||
// Adds all .gbot params as variables.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue