propertyAndLtv Delete api :GWM
This commit is contained in:
parent
2e8f5fbb6d
commit
98d4df2e8d
@ -938,7 +938,7 @@ exports.deletePropertyAndLtv = async (req, res) =>
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
||||||
PropertyAndLtv.delete({ where: { id: req.query.id }})
|
PropertyAndLtv.update({is_active:0},{ where: { id: req.query.id }})
|
||||||
.then(data =>
|
.then(data =>
|
||||||
{
|
{
|
||||||
res.send({'status':200,'message':"success",'data':"No data"});
|
res.send({'status':200,'message':"success",'data':"No data"});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user