mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-09 13:07:02 +03:00
Fix keys not properly clearing
This commit is contained in:
@@ -187,7 +187,7 @@ if (config.redis?.enabled) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (config.redis.useCompression) {
|
if (config.redis.useCompression) {
|
||||||
return del(...keys.flatMap((key) => [key, createKeyName(key)]) as [RedisCommandArgument]);
|
return del(keys.flatMap((key) => [key, createKeyName(key)]) as [RedisCommandArgument]);
|
||||||
} else {
|
} else {
|
||||||
return del(...keys);
|
return del(...keys);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user