diff --git a/src/libs/routes/idhm.js b/src/libs/routes/idhm.js index 630a709473575acc4fc93239e992341d2742e030..5da0b36c7beda0777f2b84a04e725c7b51cc3506 100644 --- a/src/libs/routes/idhm.js +++ b/src/libs/routes/idhm.js @@ -25,7 +25,7 @@ idhmApp.get('/year_range', (req, res, next) => { next(); }, query, response('range')); -idhmrApp.get('/IDHM_level', (req, res, next) => { +idhmApp.get('/IDHM_level', (req, res, next) => { req.result = [ {id: null, name: 'Não Classificado'}, {id: 1, name: 'Muito Baixa'}, @@ -33,7 +33,7 @@ idhmrApp.get('/IDHM_level', (req, res, next) => { {id: 3, name: 'Médio'}, {id: 4, name: 'Alto'}, {id: 5, name: 'Muito Alto'} - ]; + ]; next(); }, response('IDHM_level'));