Skip to content

Commit

Permalink
newer syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
brMonteiro-G committed Feb 11, 2025
1 parent 80e3efb commit e24b679
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 e24b679

Please sign in to comment.