Open reymesson1 opened 6 years ago
var masterData = {} setTimeout(async() => { var master = Master.findOne({"status":true},function(err,master){ masterData = master console.log(masterData.title); process.exit(); }) },1000)
var masterData = {} setTimeout(async() => { var master = Master.findOne({"status":true},function(err,master){
masterData = master console.log(masterData.title); process.exit(); }) },1000)