diff --git a/src/libs/routes/enrollment.js b/src/libs/routes/enrollment.js index f08db0fb8efea1881370bfa903c9e4977243c3f9..b7dc9b170db18b294fcdb222d4f9f24a88980e25 100644 --- a/src/libs/routes/enrollment.js +++ b/src/libs/routes/enrollment.js @@ -31,7 +31,8 @@ enrollmentApp.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'));