Server: fix refreshing token

This commit is contained in:
Chocobozzz 2016-11-20 17:41:03 +01:00
parent 693b1aba46
commit fab69ab8aa
1 changed files with 1 additions and 1 deletions

View File

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