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

IDHM level sub route

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