Model.findByIdAndRemove()

What is your hint or solution suggestion?

Model.findByIdAndRemove(id, options, callback)

callback: (err, removedDoc)=>if(err)...; done(null, removedDoc)

Challenge: Delete One Document Using model.findByIdAndRemove

Link to the challenge:

https://www.freecodecamp.org/learn/apis-and-microservices/mongodb-and-mongoose/delete-one-document-using-model.findbyidandremove