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

Change /enrollment/location description attr to name

parent 715aa981
No related branches found
No related tags found
1 merge request!116Release v1.0.0
Pipeline #
......@@ -29,7 +29,7 @@ enrollmentApp.get('/year_range', (req, res, next) => {
enrollmentApp.get('/location', (req, res, next) => {
req.sql = squel.select()
.field('pk_localizacao_id', 'id')
.field('descricao', 'description')
.field('descricao', 'name')
.from('localizacao');
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