Skip to content

Commit

Permalink
Update packages/amplify-category-auth/src/provider-utils/awscloudform…
Browse files Browse the repository at this point in the history
…ation/auth-stack-builder/auth-cognito-stack-builder.ts

Co-authored-by: John Hockett <[email protected]>
  • Loading branch information
danielleadams and jhockett authored Sep 7, 2022
1 parent 4f8f830 commit fcaf485
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ export class AmplifyAuthCognitoStack extends cdk.Stack implements AmplifyAuthCog
) {
this.identityPool.supportedLoginProviders = cdk.Lazy.anyValue({
produce: () => {
const supprtedProvider: any = {};
const supportedProvider: $TSObject = {};
props.authProviders?.forEach(provider => {
if (Object.keys(authProvidersList).includes(provider)) {
supprtedProvider[provider] = cdk.Fn.ref(authProvidersList[provider]);
Expand Down

0 comments on commit fcaf485

Please sign in to comment.