diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-28 11:32:03 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-28 11:32:03 +0200 |
commit | 9ee92651f64bf576c57eafe81fb3ab82def0d9e8 (patch) | |
tree | 84744a4ba79d6cb946c8580bf80a2e774610dffd /server/lib | |
parent | bfcef50db9c1c1d34ea550ea156c52cb327e160e (diff) | |
download | PeerTube-9ee92651f64bf576c57eafe81fb3ab82def0d9e8.tar.gz PeerTube-9ee92651f64bf576c57eafe81fb3ab82def0d9e8.tar.zst PeerTube-9ee92651f64bf576c57eafe81fb3ab82def0d9e8.zip |
Fix tests
Diffstat (limited to 'server/lib')
-rw-r--r-- | server/lib/oauth-model.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/server/lib/oauth-model.ts b/server/lib/oauth-model.ts index 272e90f3a..09eaf75d1 100644 --- a/server/lib/oauth-model.ts +++ b/server/lib/oauth-model.ts | |||
@@ -23,7 +23,6 @@ function getClient (clientId: string, clientSecret: string) { | |||
23 | function getRefreshToken (refreshToken: string) { | 23 | function getRefreshToken (refreshToken: string) { |
24 | logger.debug('Getting RefreshToken (refreshToken: ' + refreshToken + ').') | 24 | logger.debug('Getting RefreshToken (refreshToken: ' + refreshToken + ').') |
25 | 25 | ||
26 | |||
27 | return OAuthTokenModel.getByRefreshTokenAndPopulateClient(refreshToken) | 26 | return OAuthTokenModel.getByRefreshTokenAndPopulateClient(refreshToken) |
28 | } | 27 | } |
29 | 28 | ||