Skip to content
Snippets Groups Projects
Commit 294027c0 authored by Gabriel Ruschel's avatar Gabriel Ruschel
Browse files

Remove comments

parent c1cc60ef
No related branches found
No related tags found
2 merge requests!116Release v1.0.0,!71Idhme idhml hotfix
Pipeline #
...@@ -123,14 +123,6 @@ rqf.addField({ ...@@ -123,14 +123,6 @@ rqf.addField({
idhmeApp.get('/', rqf.parse(), (req, res, next) => { 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)) { if (("city" in req.dims) || ("city" in req.filter)) {
req.sql.from('adh_idh') req.sql.from('adh_idh')
.field('adh_idh.idhm_e', 'total') .field('adh_idh.idhm_e', 'total')
......
...@@ -122,13 +122,6 @@ rqf.addField({ ...@@ -122,13 +122,6 @@ rqf.addField({
}); });
idhmlApp.get('/', rqf.parse(), (req, res, next) => { 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)) { if (("city" in req.dims) || ("city" in req.filter)) {
req.sql.from('adh_idh') req.sql.from('adh_idh')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment