Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
It is a 500 error, not a 400. Corrected.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Magana committed Jul 6, 2020
1 parent ae7dd4c commit e31febd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/alks-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ exports.refreshTokenToAccessToken = function(account, token, opts, callback){
}
}, function(err, results){
if(err){
// [AM] - This is when we get a 400, which is (in ALKS Core) a bad refresh token. Should pass this error to the CLI.
// [AM] - This is when we get a 500, which is (in ALKS Core) a bad refresh token. Should pass this error to the CLI.
return callback("Error: Refresh token expired. Please try to use the logout2fa and login2fa commands.");
}
else if(results.statusCode !== 200){
Expand Down

0 comments on commit e31febd

Please sign in to comment.