Skip to content

Commit

Permalink
Merge pull request #5 from MatheusCoxxxta/development
Browse files Browse the repository at this point in the history
Bugfix
  • Loading branch information
MatheusCoxxxta authored May 26, 2020
2 parents 00e7e11 + 58f3be1 commit 5ceec6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controllers/Auth/Auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module.exports = {
user.password = undefined

return res.send({
user,
userId: user.id,
token: generateToken({ id: user.id })
})
} catch (error) {
Expand Down

0 comments on commit 5ceec6a

Please sign in to comment.