From f216ab9e5f2b66f741efef7ecfc0f432cf0c065b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jo=C3=A3o=20Victor=20Tozatti=20Risso?= <jvtr12@inf.ufpr.br>
Date: Fri, 2 Sep 2016 13:19:39 -0300
Subject: [PATCH] Clean up city.js
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: João Victor Tozatti Risso <jvtr12@inf.ufpr.br>
---
 src/libs/routes/city.js | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/libs/routes/city.js b/src/libs/routes/city.js
index 95423602..af22a1b7 100644
--- a/src/libs/routes/city.js
+++ b/src/libs/routes/city.js
@@ -3,7 +3,6 @@ const cityApp = express();
 const libs = `${process.cwd()}/libs`;
 const log = require(`${libs}/log`)(module);
 const squel = require('squel');
-const dbQuery = require(`${libs}/db/query_exec`);
 const query = require(`${libs}/middlewares/query`);
 const response = require(`${libs}/middlewares/response`);
 
@@ -19,8 +18,6 @@ cityApp.get('/:id', (req, res, next) => {
 }, query, response);
 
 cityApp.get('/ibge/:id', (req, res, next) => {
-    const citySql = 'SELECT * FROM municipios WHERE codigo_ibge = ?';
-    const cityIbgeCode = req.params.id;
     req.query = squel.select().from('municipios').where('codigo_ibge = ?',
         parseInt(req.params.id, 10)).toParam();
     next();
-- 
GitLab