Create/update comments task error

im getting 500 response for the comments if i use updateOne and pass two values(_id:Object(commentId),email:userEmail) as filter im getting the same problem for delete what can i do now

i have written code for the delete it outputs the following

following shows the 200 responses it shows deleted but unsuccessful m stuck with last two task can any one hep me


Are you able to pass the unit tests? If not, then please check the unit tests and let me know.


Hi @Kanika,
I could able to pass the tests and I`m done with the course too thanks for responding


1 Like