Skip to content

Commit

Permalink
fix: add role perfil controller
Browse files Browse the repository at this point in the history
  • Loading branch information
Beor18 committed Aug 19, 2019
1 parent 3b4f96c commit 961a7d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/perfil.controller.js
Expand Up @@ -9,6 +9,7 @@ async function getPerfil(req, res, next) {
return res.status(200).json({
id: req.user.id,
name: req.user.name,
role: req.user.role,
avatar: req.user.avatar,
email: req.user.email,
token: req.query.secret_token,
Expand Down

0 comments on commit 961a7d9

Please sign in to comment.