i coun’t get specefic data from a collection from database. I am using MongoDb, Nodejs, Express j

const burqaCollection = client.db('BubrqaDB').collection('burqas');
app.get('/burqas/:id', async(req,res)=>{
  const id = req.params.id;
  const query = {_id : new ObjectId(id)};
  const result = await burqaCollection.findOne(query);
  console.log(result);
  res.send(result);
});

here is my code..Why i could’t get specefic id related data from here? i face similar problem with my another projects. here i try to console.log(id) , i get my id. but if i try to console.log(result), then i get null