Closed reymesson1 closed 5 years ago
Should change the variable called value instead of index on App.js on the Class Master on the method onDeleteMaster.
exports.removeMaster = async(req,res)=>{
var master = await Master.remove({"id":req.body.id},function(err,master){ if(!err){ console.log("Master removed "); } })
res.send('removed'); }
Should change the variable called value instead of index on App.js on the Class Master on the method onDeleteMaster.