Hi Wan,
Thank you very much, I’ve already resolved the issue after figuring out I was updating a null document.
The issue was exactly as you said, the _id was in fact - wrong.
As for optimization - I definitely agree with you, right now I’m playing with .NET’s blazor wasm and trying to get an MVP for my team at work, there’s a lot to optimize on the app since right now I have an API call for each shift update while usually, a work week is scheduled for the whole week (7 days X 3 Shifts) of API update calls. I need to learn how to batch update with mongo let alone find a good way to to send all data at once.
Warm regards,
Daniel.