diff --git a/src/libs/routes/courseStudents.js b/src/libs/routes/courseStudents.js index decd65f919e266ae1f5e1f6e349283adee0913c8..b50f704a19a3b87aeadec442f3e7dba387a46461 100644 --- a/src/libs/routes/courseStudents.js +++ b/src/libs/routes/courseStudents.js @@ -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; }