Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
MatheusCoxxxta committed May 26, 2020
1 parent a49d606 commit 58f3be1
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 58f3be1

Please sign in to comment.