This commit is contained in:
suseendhiran17 2022-05-27 12:17:28 +05:30
parent 06b8a74e5d
commit a2f75bd1d4

View File

@ -225,9 +225,8 @@ exports.PullCreditPdPhotographsData = async (req, res) =>
.then((successData)=>{logMsg.info("Photograph insert success ,PdId= "+PdId);})
.catch((err)=>{ logMsg.info("Photograph insert failed ,PdId= "+PdId+" ERROR : "+err);});
// responce to FE
setTimeout(() => {
res.send({'status':200,'message':"success",'data':"INSERT INTO sales_photograph (pd_id,ref_no,img_name,img) VALUES ("+PdId+","+req.body.pdid+","+req.body.img_name+")"}); //,"+base64_data+"
}, 300);
res.send({'status':200,'message':"success",'data': "no data"}); //,"+base64_data+"
} catch(err) {