include series count in stats

master
Kit Kasune 2 years ago
parent e16c429aa6
commit 27f3acaf85
  1. 3
      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
}));
};
Loading…
Cancel
Save