Skip to content

Commit

Permalink
Merge branch 'category-auth/sign-in-with-apple' of https://github.com…
Browse files Browse the repository at this point in the history
…/letsbelopez/amplify-cli into category-auth/sign-in-with-apple
  • Loading branch information
David Lopez committed May 10, 2021
2 parents 4046847 + bbb18ad commit 08eeba9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ function userPoolProviders(oAuthProviders, coreAnswers, prevAnswers) {
if (answers.hostedUI) {
res.hostedUIProviderMeta = JSON.stringify(
oAuthProviders.map(el => {
const delimmiter = el === 'Facebook' || el === 'SignInWithApple' ? ',' : ' ';
const delimmiter = ['Facebook', 'SignInWithApple'].includes(el) ? ',' : ' ';
const scopes = [];
const maps = {};
attributesForMapping.forEach(a => {
Expand Down

0 comments on commit 08eeba9

Please sign in to comment.