diff options
author | Chocobozzz <me@florianbigard.com> | 2018-02-27 17:42:32 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-27 17:42:32 +0100 |
commit | 628d28e84ba49f4214cfe4946cbaf0a9f799929a (patch) | |
tree | 5d92bf8a153d7c3c4b7d46fae49581719b89b90e /server/lib/redis.ts | |
parent | c90f0614e6edaae4939e521605a65fe186c37442 (diff) | |
download | PeerTube-628d28e84ba49f4214cfe4946cbaf0a9f799929a.tar.gz PeerTube-628d28e84ba49f4214cfe4946cbaf0a9f799929a.tar.zst PeerTube-628d28e84ba49f4214cfe4946cbaf0a9f799929a.zip |
Fix typings
Diffstat (limited to 'server/lib/redis.ts')
-rw-r--r-- | server/lib/redis.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/server/lib/redis.ts b/server/lib/redis.ts index 2ecff939e..1fd366401 100644 --- a/server/lib/redis.ts +++ b/server/lib/redis.ts | |||
@@ -59,8 +59,6 @@ class Redis { | |||
59 | this.client.sort(jobsPrefix + ':jobs:' + state, 'by', mode, order, 'LIMIT', offset.toString(), count.toString(), (err, values) => { | 59 | this.client.sort(jobsPrefix + ':jobs:' + state, 'by', mode, order, 'LIMIT', offset.toString(), count.toString(), (err, values) => { |
60 | if (err) return rej(err) | 60 | if (err) return rej(err) |
61 | 61 | ||
62 | |||
63 | |||
64 | return res(values) | 62 | return res(values) |
65 | }) | 63 | }) |
66 | }) | 64 | }) |