Skip to content

Commit

Permalink
update minimum default value #36
Browse files Browse the repository at this point in the history
  • Loading branch information
matyaskopp committed Dec 2, 2021
1 parent b6ccd7a commit bb449c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/dataController.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down
2 changes: 1 addition & 1 deletion app/routes/adminRoutes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];

Expand Down

0 comments on commit bb449c3

Please sign in to comment.