diff --git a/src/helpers/get_refresh_token.js b/src/helpers/get_refresh_token.js index 996e67a..37b7d7f 100644 --- a/src/helpers/get_refresh_token.js +++ b/src/helpers/get_refresh_token.js @@ -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); }); };