Commit de8e9175 authored by Miguel Angelo Salerno's avatar Miguel Angelo Salerno
Browse files

concatenate suitable/not-suitable disciplines with req.result

parent 1b52c39a
Pipeline #24412 failed with stage
in 2 minutes and 4 seconds
......@@ -670,7 +670,7 @@ disciplinesApp.get('/', rqf.parse(), (req, res, next) => {
disciplinesSuitable.push(objSuitable)
})
req.result = disciplinesNotSuitable.concat(disciplinesSuitable);
req.result = req.result.concat(disciplinesNotSuitable).concat(disciplinesSuitable);
next();
}, response('disciplines'));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment