Commit b7146390 authored by jpko19's avatar jpko19
Browse files

Add new sub rout PEE


Signed-off-by: jpko19's avatarJoao Kieras <jpko19@inf.ufpr.br>
parent b443a1c9
......@@ -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'},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment