Skip to content

Commit

Permalink
fix(renew): return values in new format
Browse files Browse the repository at this point in the history
  • Loading branch information
serge1peshcoff committed Apr 14, 2020
1 parent 7a92623 commit dbdc938
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions middlewares/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,7 @@ module.exports.renew = async (req, res) => {

return res.json({
success: true,
data: {
access_token: accessToken.value,
}
access_token: accessToken.value
});
};

Expand Down

0 comments on commit dbdc938

Please sign in to comment.