Skip to content

Commit

Permalink
Merge pull request #172 from ufabc-next/fix/new-syntax
Browse files Browse the repository at this point in the history
newer syntax
  • Loading branch information
brMonteiro-G authored Feb 11, 2025
2 parents 80e3efb + e24b679 commit cbf0401
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/api/facebook/func.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ module.exports = async (context) => {
}

const userEmails = [
user.oauth?.emailFacebook,
user.oauth?.email,
user.oauth.emailFacebook,
user.oauth.email,
].filter(Boolean);

if (!userEmails.includes(email)) {
Expand Down

0 comments on commit cbf0401

Please sign in to comment.