diff options
author | Chocobozzz <me@florianbigard.com> | 2021-02-03 09:33:05 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-02-03 09:45:08 +0100 |
commit | ba5a8d89bbf049e4afc41543bcc072cccdb02669 (patch) | |
tree | 6cc6b2dca17745cc0824c7ad4515f3bc4883fa4a /server/lib/redis.ts | |
parent | 29f148a61381727a432c22a71c7a2b7cc23d9c9e (diff) | |
download | PeerTube-ba5a8d89bbf049e4afc41543bcc072cccdb02669.tar.gz PeerTube-ba5a8d89bbf049e4afc41543bcc072cccdb02669.tar.zst PeerTube-ba5a8d89bbf049e4afc41543bcc072cccdb02669.zip |
Update server dependencies
Diffstat (limited to 'server/lib/redis.ts')
-rw-r--r-- | server/lib/redis.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/redis.ts b/server/lib/redis.ts index 257cce141..62641e313 100644 --- a/server/lib/redis.ts +++ b/server/lib/redis.ts | |||
@@ -263,7 +263,7 @@ class Redis { | |||
263 | } | 263 | } |
264 | 264 | ||
265 | private addToSet (key: string, value: string) { | 265 | private addToSet (key: string, value: string) { |
266 | return new Promise<string[]>((res, rej) => { | 266 | return new Promise<void>((res, rej) => { |
267 | this.client.sadd(this.prefix + key, value, err => err ? rej(err) : res()) | 267 | this.client.sadd(this.prefix + key, value, err => err ? rej(err) : res()) |
268 | }) | 268 | }) |
269 | } | 269 | } |