Skip to content
Snippets Groups Projects
Commit 2c6001a5 authored by Fernando Erd's avatar Fernando Erd :ok_hand:
Browse files

ParseInt out of school

parent 7365412e
No related branches found
No related tags found
No related merge requests found
Pipeline #18500 failed
......@@ -304,6 +304,12 @@ outOfSchoolApp.get('/simcaq', simcaqRqf.parse(), simcaqRqf.build(), (req, res, n
.order('populacao_fora_da_escola.ano_censo');
next();
}, query, addMissing(simcaqRqf), id2str.transform(), response('out_of_school'));
}, query, (req, res, next) => {
req.result.forEach((i) => {
i.total = parseInt(i.total);
console.log(i.total);
});
next();
}, addMissing(simcaqRqf), id2str.transform(), response('out_of_school'));
module.exports = outOfSchoolApp;
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