removeMany function isn't working

Tell us what’s happening:
removeMany function isn’t working even after when i tried the solution.

Your project link(s)

solution: https://replit.com/@prathammishra1/boilerplate-mongomongoose-1

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36

Challenge: Delete Many Documents with model.remove()

Link to the challenge:

1 Like

Have a look at this solution that has helped a few others, usually this is caused by using the latest version of mongoose, the course is being updated to reflect this tip. Try the versions in this post and you should pass! Nice work.

Thank you so much mate.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.