propertyAndLtv Delete api :GWM

This commit is contained in:
sriramv 2023-08-17 16:39:44 +05:30
parent 2e8f5fbb6d
commit 98d4df2e8d

View File

@ -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"});