diff --git a/app/controllers/dataController.js b/app/controllers/dataController.js index c09c3b7..3089827 100644 --- a/app/controllers/dataController.js +++ b/app/controllers/dataController.js @@ -82,7 +82,7 @@ exports.getTopIPs = ( userId, period_end = (new Date().getFullYear() + 1)+'-01-01 00:00:00', measure='units', level='month', - min_exist = 0 + min_exist = 8000 ) => { logger.trace(); return new promise((resolve, reject) => { diff --git a/app/routes/adminRoutes.js b/app/routes/adminRoutes.js index 6f5e293..0a63c62 100644 --- a/app/routes/adminRoutes.js +++ b/app/routes/adminRoutes.js @@ -136,7 +136,7 @@ router.get('/admin/ips', function (req, res, next) { level: req.query.level || 'month', start: req.query.start || (new Date().getFullYear())+'-01-01', end: req.query.end || (new Date().getFullYear()+1)+'-01-01', - min_exist: req.query.min_exist || 0 + min_exist: req.query.min_exist || 8000 }; var table_params = [];