From 27f3acaf8553b621d511312640189da30fc431c4 Mon Sep 17 00:00:00 2001 From: WubzyGD Date: Wed, 3 May 2023 14:08:08 -0400 Subject: [PATCH] include series count in stats --- api/ani/v1/routes/stats.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/ani/v1/routes/stats.js b/api/ani/v1/routes/stats.js index 32db483..ed2b369 100644 --- a/api/ani/v1/routes/stats.js +++ b/api/ani/v1/routes/stats.js @@ -1,5 +1,6 @@ module.exports = (app, router) => { router.get('/stats', (req, res) => res.json({ - users: Object.keys(app.cache.users).length + users: Object.keys(app.cache.users).length, + series: Object.keys(app.cache.series).length })); }; \ No newline at end of file