You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't delete a row with the findOneAndDelete or other delete functions. On my first attempt to delete the user from the user list camo adds a row to the database like that one :
{"name":"Muhammed Eren Ozyurur","username":"mo","room":"mo","password":"123","access_permission":true,"_id":"yLZgB6N6foRR79R2"}
{"$$indexCreated":{"fieldName":"username","unique":true,"sparse":false}}
{"$$indexCreated":{"fieldName":"room","unique":true,"sparse":false}}
{"$$deleted":true,"_id":"yLZgB6N6foRR79R2"}
On my second attempt to delete the user it really deletes it from the file and returns me the valid res.send value. Also, if I do another operation with the document it really deletes it from the file, too. But of course without a res.send value.
The text was updated successfully, but these errors were encountered:
I can't delete a row with the findOneAndDelete or other delete functions. On my first attempt to delete the user from the user list camo adds a row to the database like that one :
On my second attempt to delete the user it really deletes it from the file and returns me the valid res.send value. Also, if I do another operation with the document it really deletes it from the file, too. But of course without a res.send value.
The text was updated successfully, but these errors were encountered: