Skip to content
Snippets Groups Projects
Commit 1b2c349e authored by Vytor Calixto's avatar Vytor Calixto :space_invader:
Browse files

Try fix CI build

parent af612d67
No related branches found
No related tags found
1 merge request!116Release v1.0.0
Pipeline #
...@@ -23,6 +23,3 @@ run_tests: ...@@ -23,6 +23,3 @@ run_tests:
- gulp test - gulp test
tags: tags:
- node - node
cache:
paths:
- node_modules/
...@@ -183,7 +183,6 @@ rqf.addField({ ...@@ -183,7 +183,6 @@ rqf.addField({
}); });
classroomApp.get('/', rqf.parse(), rqf.build(), (req, res, next) => { classroomApp.get('/', rqf.parse(), rqf.build(), (req, res, next) => {
console.log(req.filter);
req.sql.from('escola') req.sql.from('escola')
.field('SUM(escola.num_salas)', 'total') .field('SUM(escola.num_salas)', 'total')
.field("'Brasil'", 'name') .field("'Brasil'", 'name')
......
...@@ -848,7 +848,6 @@ rqfCount.addField({ ...@@ -848,7 +848,6 @@ rqfCount.addField({
// SELECT COUNT(escola.id) AS "total", 'Brasil' AS "name", escola.ano_censo AS "year" FROM escola WHERE (escola.biblioteca = ? OR escola.sala_leitura = ? OR escola.biblioteca_sala_leitura) AND (escola.situacao_de_funcionamento = 1 AND escola.ensino_regular = 1) GROUP BY escola.ano_censo ORDER BY escola.ano_censo ASC // SELECT COUNT(escola.id) AS "total", 'Brasil' AS "name", escola.ano_censo AS "year" FROM escola WHERE (escola.biblioteca = ? OR escola.sala_leitura = ? OR escola.biblioteca_sala_leitura) AND (escola.situacao_de_funcionamento = 1 AND escola.ensino_regular = 1) GROUP BY escola.ano_censo ORDER BY escola.ano_censo ASC
schoolApp.get('/', rqf.parse(), rqf.build(), (req, res, next) => { schoolApp.get('/', rqf.parse(), rqf.build(), (req, res, next) => {
console.log(req.filter);
if(typeof req.filter === 'undefined' || Object.keys(req.filter).length === 0) { if(typeof req.filter === 'undefined' || Object.keys(req.filter).length === 0) {
res.status(400); res.status(400);
next({ next({
......
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