1
0
Fork 0

Server: fix refreshing token

This commit is contained in:
Chocobozzz 2016-11-20 17:41:03 +01:00
parent 693b1aba46
commit fab69ab8aa

View file

@ -32,7 +32,7 @@ function getClient (clientId, clientSecret) {
return OAuthClient.getByIdAndSecret(mongoId, clientSecret)
}
function getRefreshToken (refreshToken, callback) {
function getRefreshToken (refreshToken) {
logger.debug('Getting RefreshToken (refreshToken: ' + refreshToken + ').')
return OAuthToken.getByRefreshTokenAndPopulateClient(refreshToken)