mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 01:02:30 +01:00
Fix sqlite tests
This commit is contained in:
parent
b6e62aa68f
commit
992c65a39d
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ export async function getStatus(req: Request, res: Response): Promise<Response>
|
|||
loadavg: os.loadavg().slice(1), // only return 5 & 15 minute load average
|
||||
statusRequests,
|
||||
hostname: os.hostname(),
|
||||
postgresStats: (db as Postgres)?.getStats(),
|
||||
postgresStats: (db as Postgres)?.getStats?.(),
|
||||
redisStats: getRedisStats(),
|
||||
};
|
||||
return value ? res.send(JSON.stringify(statusValues[value])) : res.send(statusValues);
|
||||
|
|
Loading…
Reference in a new issue