From 1fa9f72ac38d6fcf9fa3f7774d315ba545d669eb Mon Sep 17 00:00:00 2001 From: Joao Kieras <jpko19@inf.ufpr.br> Date: Fri, 22 Jul 2022 11:52:42 -0300 Subject: [PATCH] update enrollment PEE(4) Signed-off-by: Joao Kieras <jpko19@inf.ufpr.br> --- src/libs/routes/enrollment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/routes/enrollment.js b/src/libs/routes/enrollment.js index 1333aa64..2e397a50 100644 --- a/src/libs/routes/enrollment.js +++ b/src/libs/routes/enrollment.js @@ -756,7 +756,7 @@ enrollmentApp.get('/', rqf.parse(), (req, res, next) => { .order('matricula.ano_censo') .where('((matricula.tipo<=3 OR matricula.tipo IS NULL) AND (matricula.tipo_atendimento_turma IS NULL OR matricula.tipo_atendimento_turma <= 2))'); next(); -}, rqf.build(), query, id2str.transform(false), response('enrollment')); +}, rqf.build(), (req, res, next) => {console.log(req.sql.toString()); next();}, query, id2str.transform(false), response('enrollment')); enrollmentApp.get('/diagnosis', rqf.parse(), (req, res, next) => { req.dims = {}; -- GitLab