From 2daa5fd3311417d183f016c0a62410f43b695e32 Mon Sep 17 00:00:00 2001 From: Vytor Calixto <vytorcalixto@gmail.com> Date: Mon, 6 Mar 2017 11:01:26 -0300 Subject: [PATCH] Change /enrollment/location description attr to name --- src/libs/routes/enrollment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/routes/enrollment.js b/src/libs/routes/enrollment.js index 5a6f5c79..74ba538a 100644 --- a/src/libs/routes/enrollment.js +++ b/src/libs/routes/enrollment.js @@ -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')); -- GitLab