use await Post.find().toArray() method so it solve that problem if your using findOne then its not needed