issue #328 fixed

parent 38982ace
......@@ -942,6 +942,7 @@ module.exports = {
updateActiveScene: function(req,res){
var params = req.allParams();
Student.findOne({id:params.id_stu})
.populate('license')
.then(student => {
student.id_active_scene=params.id_scene;
delete student.password;
......
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