changes in select api : suseendhiran

This commit is contained in:
suseendhiran17 2022-09-30 10:10:34 +05:30
parent 01fae2f460
commit bceaf55fe9

View File

@ -345,7 +345,7 @@ exports.GetCreditPdData = async (req, res) =>
]
})
.then((data)=>{
if (condition)
if (data.length > 0)
{
res.send({'status':200,'message':"success",'data':data});
}