Skip to content
Snippets Groups Projects
Commit b7146390 authored by jpko19's avatar jpko19
Browse files

Add new sub rout PEE


Signed-off-by: default avatarJoao Kieras <jpko19@inf.ufpr.br>
parent b443a1c9
No related branches found
No related tags found
2 merge requests!329Update enrollment - new filters,!309Merge new updates into master
......@@ -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'},
......
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