diff --git a/src/libs/routes/enrollment.js b/src/libs/routes/enrollment.js index 844322bd7273e195f99e2ecd2e5f38f3396d01a3..f3c2edaaade0877d1be93c2f7b8ea2bbe87d7890 100644 --- a/src/libs/routes/enrollment.js +++ b/src/libs/routes/enrollment.js @@ -239,6 +239,21 @@ enrollmentApp.get('/special_class', (req, res, next) => { next(); }, response('special_class')); +enrollmentApp.get('/pee', (req, res, next) => { + req.result = [{ + id: null, + name: id2str.booleanVariable(null) + }]; + + for(let i = 0; i <= 1; ++i) { + req.result.push({ + id: i, + name: id2str.booleanVariable(i) + }); + } + next(); +}, response('pee')); + enrollmentApp.get('/age_range_all', (req, res, next) => { req.result = [ {id: 1, name: '0 a 3 anos'},