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

Fix return in classroom_count

parent 398e19ce
No related branches found
No related tags found
No related merge requests found
...@@ -513,7 +513,7 @@ classroomCountApp.post('/', rqf.parse(), (req, res, next) => { ...@@ -513,7 +513,7 @@ classroomCountApp.post('/', rqf.parse(), (req, res, next) => {
} }
} }
req.result = {result: reduction || result, leftovers}; req.result = reduction || result;
next(); next();
}, response('classroom_count')); }, response('classroom_count'));
......
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