mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-09 04:57:04 +03:00
fix countcontributingusers
This commit is contained in:
@@ -6,7 +6,7 @@ import { Pool } from "pg";
|
||||
import { Logger } from "../../src/utils/logger";
|
||||
|
||||
export async function resetRedis() {
|
||||
if (config.redis) {
|
||||
if (config?.redis?.enabled) {
|
||||
const client = createClient(config.redis);
|
||||
await client.connect();
|
||||
await client.flushAll();
|
||||
|
||||
Reference in New Issue
Block a user