Skip to content
Snippets Groups Projects
Commit feef9315 authored by Fernando Erd's avatar Fernando Erd :ok_hand:
Browse files

Fix rateSchool

parent 7a6d03a9
No related branches found
No related tags found
1 merge request!116Release v1.0.0
...@@ -279,9 +279,7 @@ rateSchoolApp.get('/', rqf.parse(), rqf.build(), (req, res, next) => { ...@@ -279,9 +279,7 @@ rateSchoolApp.get('/', rqf.parse(), rqf.build(), (req, res, next) => {
next(); next();
}, multiQuery, (req, res, next) => { }, multiQuery, (req, res, next) => {
let school_attendance_rate = matchQueries(req.result[req.queryIndex.freq_total], req.result[req.queryIndex.freq_nursery]); let school_attendance_rate = matchQueries(req.result[req.queryIndex.freq_total], req.result[req.queryIndex.freq_nursery]);
req.result = [{ req.result = school_attendance_rate;
school_attendance_rate
}];
next(); next();
}, id2str.multitransform(false), response('rateSchool')); }, id2str.multitransform(false), response('rateSchool'));
......
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