diff --git a/lib/alks-api.js b/lib/alks-api.js index d8b862c..d02c933 100644 --- a/lib/alks-api.js +++ b/lib/alks-api.js @@ -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){