diff --git a/src/libs/routes/enrollment.js b/src/libs/routes/enrollment.js index 8404c3cd7c168e26e258f8d5a455b0b3f5323b73..d89f8cf978a4754e1513bdb001a4dbe558610c5f 100644 --- a/src/libs/routes/enrollment.js +++ b/src/libs/routes/enrollment.js @@ -100,7 +100,7 @@ enrollmentApp.get('/period', (req, res, next) => { }, query, response('period')); // Returns integral-time avaible -classApp.get('/integral_time', (req, res, next) => { +enrollmentApp.get('/integral_time', (req, res, next) => { req.result = [ {id: null, name: 'Não DisponÃvel'}, {id: 0, name: 'Não'}, @@ -289,7 +289,7 @@ rqf.addField({ } }).addValue({ name:'integral_time', - table: 'turma', + table: 'matricula', tableField: 'tempo_integral', resultField: 'integral_time_id', where: {