notification email on student unlinking

parent 297c07d2
......@@ -471,7 +471,7 @@ module.exports = {
if (!stuSup)
throw new Error("student and supervisor are not linked");
return [stuStup, Student.findOne(req.params.id_stu).populate('license')];
return [stuSup, Student.findOne(req.params.id_stu).populate('license')];
})
.spread((stuSup, student) => {
......
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