Skip to content
Snippets Groups Projects
Commit c226133c authored by Guiusepe's avatar Guiusepe
Browse files

changed results to numbers

parent 6a6351a4
No related branches found
No related tags found
2 merge requests!309Merge new updates into master,!279Homologa
Pipeline #27750 failed
......@@ -200,6 +200,9 @@ courseStudentsApp.get('/', rqf.parse(), (req, res, next) => {
next();
}, query, (req, res, next) => {
for (var res of req.result){
res.inscritos_total = Number(res.inscritos_total);
res.vagas_totais = Number(res.vagas_totais);
res.ingresso_curso = Number(res.ingresso_curso);
res.total = null;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment