aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/oauth-model.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/oauth-model.js')
-rw-r--r--server/lib/oauth-model.js2
1 files changed, 1 insertions, 1 deletions
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) {
32 return OAuthClient.getByIdAndSecret(mongoId, clientSecret) 32 return OAuthClient.getByIdAndSecret(mongoId, clientSecret)
33} 33}
34 34
35function getRefreshToken (refreshToken, callback) { 35function getRefreshToken (refreshToken) {
36 logger.debug('Getting RefreshToken (refreshToken: ' + refreshToken + ').') 36 logger.debug('Getting RefreshToken (refreshToken: ' + refreshToken + ').')
37 37
38 return OAuthToken.getByRefreshTokenAndPopulateClient(refreshToken) 38 return OAuthToken.getByRefreshTokenAndPopulateClient(refreshToken)