working on issue #305

parent 3916ba40
......@@ -657,10 +657,9 @@ module.exports = {
});
}
Supervisor.students(req.params.id, function (err, stus) {
if (err) throw err;
if (err) return res.serverError(err);
return res.ok(stus);
})
.catch((err) => res.serverError(err));
});
},
/*
......
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 sign in to comment