Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Commit

Permalink
Apply feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
FedericoBernal committed Jun 17, 2021
1 parent 232cbbd commit f1061fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/typescript/samples/sample-assistant/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ const skillsConfig: SkillsConfiguration = new SkillsConfiguration(appsettings.bo
let authenticationConfiguration = new AuthenticationConfiguration();

// Register AuthConfiguration to enable custom claim validation.
if(skillsConfig.skills.size > 0){
if (skillsConfig.skills.size > 0) {
const allowedCallers: string[] = [...skillsConfig.skills.values()].map(skill => skill.appId);
const authenticationConfiguration = new AuthenticationConfiguration(
authenticationConfiguration = new AuthenticationConfiguration(
undefined,
allowedCallersClaimsValidator(allowedCallers)
);
Expand Down

0 comments on commit f1061fa

Please sign in to comment.