From 294027c0e93bf9dc6b10ed301a536b138083c830 Mon Sep 17 00:00:00 2001
From: Gabriel Ruschel <grc15@inf.ufpr.br>
Date: Thu, 3 Aug 2017 09:38:35 -0300
Subject: [PATCH] Remove comments

---
 src/libs/routes/idhme.js | 8 --------
 src/libs/routes/idhml.js | 7 -------
 2 files changed, 15 deletions(-)

diff --git a/src/libs/routes/idhme.js b/src/libs/routes/idhme.js
index 691f188c..9b4672ef 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 ddd7af6b..a24c51cc 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')
-- 
GitLab