mirror of https://github.com/Chocobozzz/PeerTube
Server: fix refreshing token
parent
693b1aba46
commit
fab69ab8aa
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue