Commit fa575b34 authored by jpko19's avatar jpko19
Browse files

Add pee_por_categoria

parent 705d8f69
......@@ -246,7 +246,18 @@ enrollmentApp.get('/pee', (req, res, next) => {
{id: 1, name: 'Sim'}
];
next();
}, response('pee'));
}, response('pee'))
enrollmentApp.get('/pee_por_categoria', (req, res, next) => {
req.result = [];
for(let i = 1; i <= 13; ++i) {
req.result.push({
id: i,
name: id2str.peePorCategoria(i)
});
}
next();
}, response('pee_por_categoria'));
enrollmentApp.get('/age_range_all', (req, res, next) => {
req.result = [
......
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