From fab69ab8aa2130ba0dba7b7fd578618e02b97778 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Sun, 20 Nov 2016 17:41:03 +0100 Subject: [PATCH] Server: fix refreshing token --- server/lib/oauth-model.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)