Skip to content
Snippets Groups Projects
Commit 56fdb6d2 authored by lgtg20's avatar lgtg20
Browse files

fix split problem

parent 2df470e0
No related branches found
No related tags found
3 merge requests!417[ADD] Indicator "Taxa de Atendimento Educacional" updated on production!,!416[ADD] Route almost ready, some tests needed. Comments added and filters that...,!411fix split problem
......@@ -20,6 +20,7 @@ const convert = {
}
function aggregateData(req, res, next) {
if (req.query.dims) {
const newResult = []
const aggregateFields = ['gender', 'age_range', 'ethnic_group', 'education_level_mod_agg', 'integral_time_agg', 'period_agg', 'modality_integral_time', 'especial_education']
let id;
......@@ -56,7 +57,7 @@ function aggregateData(req, res, next) {
})
req.result = newResult;
}
console.log(req.result);
}
next();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment