Skip to content

Commit

Permalink
fix(amplify-category-auth): fb, siwa scope delimmiter check
Browse files Browse the repository at this point in the history
Co-authored-by: Edward Foyle <foyleef@amazon.com>
  • Loading branch information
letsbelopez and edwardfoyle authored May 10, 2021
1 parent d522c14 commit bbb18ad
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 bbb18ad

Please sign in to comment.