Skip to content
Snippets Groups Projects
Commit 119dea6f authored by Fernando Erd's avatar Fernando Erd :ok_hand:
Browse files

Fix - Error idhm

parent c7607410
No related branches found
No related tags found
2 merge requests!116Release v1.0.0,!60IDHMR and IDHM routes
Pipeline #
...@@ -25,7 +25,7 @@ idhmApp.get('/year_range', (req, res, next) => { ...@@ -25,7 +25,7 @@ idhmApp.get('/year_range', (req, res, next) => {
next(); next();
}, query, response('range')); }, query, response('range'));
idhmrApp.get('/IDHM_level', (req, res, next) => { idhmApp.get('/IDHM_level', (req, res, next) => {
req.result = [ req.result = [
{id: null, name: 'Não Classificado'}, {id: null, name: 'Não Classificado'},
{id: 1, name: 'Muito Baixa'}, {id: 1, name: 'Muito Baixa'},
...@@ -33,7 +33,7 @@ idhmrApp.get('/IDHM_level', (req, res, next) => { ...@@ -33,7 +33,7 @@ idhmrApp.get('/IDHM_level', (req, res, next) => {
{id: 3, name: 'Médio'}, {id: 3, name: 'Médio'},
{id: 4, name: 'Alto'}, {id: 4, name: 'Alto'},
{id: 5, name: 'Muito Alto'} {id: 5, name: 'Muito Alto'}
]; ];
next(); next();
}, response('IDHM_level')); }, response('IDHM_level'));
......
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