diff --git a/app/controllers/entity.applicant.controller.js b/app/controllers/entity.applicant.controller.js index 2e1b79e..e011cb3 100644 --- a/app/controllers/entity.applicant.controller.js +++ b/app/controllers/entity.applicant.controller.js @@ -938,7 +938,7 @@ exports.deletePropertyAndLtv = async (req, res) => try { - PropertyAndLtv.delete({ where: { id: req.query.id }}) + PropertyAndLtv.update({is_active:0},{ where: { id: req.query.id }}) .then(data => { res.send({'status':200,'message':"success",'data':"No data"});