From f1061fabb625785b8ad405b079e73ef4832a9ca2 Mon Sep 17 00:00:00 2001 From: Federico Bernal <64086728+FedericoBernal@users.noreply.github.com> Date: Thu, 17 Jun 2021 15:37:42 -0300 Subject: [PATCH] Apply feedback --- templates/typescript/samples/sample-assistant/src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/typescript/samples/sample-assistant/src/index.ts b/templates/typescript/samples/sample-assistant/src/index.ts index 16e0e58d12..592c318400 100644 --- a/templates/typescript/samples/sample-assistant/src/index.ts +++ b/templates/typescript/samples/sample-assistant/src/index.ts @@ -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) );