Backend Development Certificate Problem

I can’t pass the 11th task from Backend Development Certification’s MongoDB & Mongoose course. I have to use Model.remove() method to remove a database entry. But when I use it, the console tells me that this method is deprecated. It suggests alternate methods deleteOne() and deleteMany(). Any suggestions on how to pass the test?

Please post a link to your Replit.

Make sure you installed the version of mongoose that you are asked to in the initial challenge.