aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/oauth-model.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-08-28 11:32:03 +0200
committerChocobozzz <me@florianbigard.com>2018-08-28 11:32:03 +0200
commit9ee92651f64bf576c57eafe81fb3ab82def0d9e8 (patch)
tree84744a4ba79d6cb946c8580bf80a2e774610dffd /server/lib/oauth-model.ts
parentbfcef50db9c1c1d34ea550ea156c52cb327e160e (diff)
downloadPeerTube-9ee92651f64bf576c57eafe81fb3ab82def0d9e8.tar.gz
PeerTube-9ee92651f64bf576c57eafe81fb3ab82def0d9e8.tar.zst
PeerTube-9ee92651f64bf576c57eafe81fb3ab82def0d9e8.zip
Fix tests
Diffstat (limited to 'server/lib/oauth-model.ts')
-rw-r--r--server/lib/oauth-model.ts1
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) {
23function getRefreshToken (refreshToken: string) { 23function 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