Skip to content

Commit

Permalink
chore: solve code issue
Browse files Browse the repository at this point in the history
  • Loading branch information
brMonteiro-G committed Nov 16, 2023
1 parent 2bffaf2 commit 63563cf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/api/facebook/func.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ module.exports = async (context) => {

const user = await app.models.users.findOne({ ra, email })

const { _id } = user

if (user) {
const { _id } = user
return { userId: _id }
}

Expand Down

0 comments on commit 63563cf

Please sign in to comment.