Mongoose remove() Solution doenst work

Tell us what’s happening:

// This solution dosnt work
const removeManyPeople = (done) => {
const nameToRemove = “Mary”;
Person.remove({name: nameToRemove}, (err, res) => {
if(err) return console.log(err);
done(null, res);
})
};

Something wrong?

Thanks for your attention,
WKD

Your project link(s)

https://replit.com/join/htrrxcixoj-wkdminerva

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36

Challenge: Delete Many Documents with model.remove()

Link to the challenge: