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

Change class/location response

parent 7eae1f04
No related branches found
No related tags found
1 merge request!116Release v1.0.0
Pipeline #
......@@ -30,7 +30,8 @@ classApp.get('/location', (req, res, next) => {
req.sql = squel.select()
.field('id')
.field('descricao', 'name')
.from('localizacao');
.from('localizacao')
.where('localizacao.id <= 2');
next();
}, query, response('location'));
......
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