Skip to content
Snippets Groups Projects
Commit 7095c92e authored by Vytor Calixto's avatar Vytor Calixto :space_invader:
Browse files

Add source route to /idhme

parent 2542e3e7
No related branches found
No related tags found
1 merge request!116Release v1.0.0
Pipeline #
......@@ -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,
......
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