Skip to content

Commit

Permalink
refine a bit of code
Browse files Browse the repository at this point in the history
  • Loading branch information
Karyum committed Feb 5, 2018
1 parent ba27f27 commit 31db1f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/helpers/get_refresh_token.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ module.exports = (req, res) => {
return new Promise((resolve, reject) => {
verifyToken(req)
.then(requestToken)
.then(() => resolve())
.catch(() => reject());
.then(resolve)
.catch(reject);
});
};

0 comments on commit 31db1f5

Please sign in to comment.