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

Fix result in classroomCount

parent b4f93e67
No related branches found
No related tags found
No related merge requests found
...@@ -625,12 +625,9 @@ classroomCountApp.post('/', rqf.parse(), (req, res, next) => { ...@@ -625,12 +625,9 @@ classroomCountApp.post('/', rqf.parse(), (req, res, next) => {
} }
} }
req.result = { req.result = reduction || result;
result: reduction || result,
leftovers
}
next(); next();
}, response('classroom_count')); }, response('classroom_count'));
module.exports = classroomCountApp; module.exports = classroomCountApp;
\ No newline at end of file
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