mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 14:40:55 +03:00
fixed some old TODOs
This commit is contained in:
@@ -52,7 +52,9 @@ class DB {
|
||||
const filePath = `${prefix}-${id}`;
|
||||
await this.storage.set(filePath, file);
|
||||
this.redis.hset(id, 'prefix', prefix);
|
||||
this.redis.hmset(id, meta);
|
||||
if (meta) {
|
||||
this.redis.hmset(id, meta);
|
||||
}
|
||||
this.redis.expire(id, expireSeconds);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user