Commit 9448489d authored by jpko19's avatar jpko19
Browse files

update enrollment PEE(2)


Signed-off-by: jpko19's avatarJoao Kieras <jpko19@inf.ufpr.br>
parent bde20d7f
......@@ -240,17 +240,11 @@ enrollmentApp.get('/special_class', (req, res, 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)
});
}
req.result = [
{id: null, name: 'Não Declarado'},
{id: false, name: 'Não'},
{id: true, name: 'Sim'}
];
next();
}, response('pee'));
......
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