diff --git a/src/libs/routes/idhme.js b/src/libs/routes/idhme.js index 22ef5697dbbcfdba5a7f829a206177731367e232..431380b4a178e07d306af45d219b243a4b47ce2b 100644 --- a/src/libs/routes/idhme.js +++ b/src/libs/routes/idhme.js @@ -63,6 +63,13 @@ idhmeApp.get('/years', (req, res, next) => { next(); }, response('years')); +idhmeApp.get('/source', (req, res, next) => { + req.sql.from('fonte') + .field('fonte', 'source') + .where('tabela = \'adh_idh\''); + next(); +}, query, response('source')); + rqf.addField({ name: 'filter', field: false,