aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/redis.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/redis.ts')
-rw-r--r--server/lib/redis.ts2
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 }