From 98d4df2e8d336f659ce44f73dbda636f007546cc Mon Sep 17 00:00:00 2001 From: sriramv Date: Thu, 17 Aug 2023 16:39:44 +0530 Subject: [PATCH] propertyAndLtv Delete api :GWM --- app/controllers/entity.applicant.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"});