Please help me!

Hi everybody!!!

Please explain to me, when I use mongoose with delete method, deleted a document (soft delete) in data, a field deleted created with value is true. And then I use restore method as guided to restore the document it must be the value of field deleted changed to false but instead of the field erased.

I used to do it well but this time it did not work as I expected!

Please show me why it is like that.

Thanks a lot