diff --git a/server/lib/oauth-model.js b/server/lib/oauth-model.js index 922ef0b1f..d011c4b72 100644 --- a/server/lib/oauth-model.js +++ b/server/lib/oauth-model.js @@ -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)