diff --git a/src/libs/routes/idhme.js b/src/libs/routes/idhme.js index 691f188c25f65eec4d43adf1a396f1c2d6e37044..9b4672efe4f50be75866c2169422afeb9ed509af 100644 --- a/src/libs/routes/idhme.js +++ b/src/libs/routes/idhme.js @@ -123,14 +123,6 @@ rqf.addField({ idhmeApp.get('/', rqf.parse(), (req, res, next) => { - // if(typeof req.filter === 'undefined' || Object.keys(req.filter).length === 0) { - // res.status(400); - // next({ - // status: 400, - // message: 'Wrong/No filter specified' - // }); - // } - if (("city" in req.dims) || ("city" in req.filter)) { req.sql.from('adh_idh') .field('adh_idh.idhm_e', 'total') diff --git a/src/libs/routes/idhml.js b/src/libs/routes/idhml.js index ddd7af6b2b18b05bd19d1909d78abb769edb65d4..a24c51ccbfe0f0f108cb554f224aa12e5ecf7f42 100644 --- a/src/libs/routes/idhml.js +++ b/src/libs/routes/idhml.js @@ -122,13 +122,6 @@ rqf.addField({ }); idhmlApp.get('/', rqf.parse(), (req, res, next) => { - // if(typeof req.filter === 'undefined' || Object.keys(req.filter).length === 0) { - // res.status(400); - // next({ - // status: 400, - // message: 'Wrong/No filter specified' - // }); - // } if (("city" in req.dims) || ("city" in req.filter)) { req.sql.from('adh_idh')