mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2026-01-27 12:50:47 +03:00
fix countcontributingusers
This commit is contained in:
@@ -20,8 +20,8 @@ async function init() {
|
||||
// delete old test database
|
||||
if (fs.existsSync(config.db)) fs.unlinkSync(config.db);
|
||||
if (fs.existsSync(config.privateDB)) fs.unlinkSync(config.privateDB);
|
||||
await resetRedis();
|
||||
await resetPostgres();
|
||||
if (config?.redis?.enabled) await resetRedis();
|
||||
if (config?.postgres) await resetPostgres();
|
||||
|
||||
await initDb();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user