ApiChanges:GWM
This commit is contained in:
parent
1323db4660
commit
84d54bece3
@ -76,8 +76,8 @@ exports.notesList = async (req, res) =>
|
||||
|
||||
if(req.query.entity_reference == undefined)
|
||||
{
|
||||
notesData = await Workingnotes.findAll({where :{losid : req.query.losid , module_name : req.query.module_name , is_active:1}});
|
||||
console.log(JSON.parse(notesData[2].notes))
|
||||
notesData = await Workingnotes.findAll({where :{losid : req.query.losid , module_name : req.query.module_name , is_active:1}})
|
||||
.catch(err=>{console.log(err);});
|
||||
res.send({'status':200 , message:"Success." ,'data': notesData});
|
||||
}else{
|
||||
notesData = await Workingnotes.findAll({where :{losid : req.query.losid , module_name : req.query.module_name , entity_reference : req.query.entity_reference, is_active:1}});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user