Optimistic update with a patch method
Hello there, i'm trying a optimistic update (patch), it look like working good but I don't really know if my code is good for that.
The goal is to update the status of my users. If anyone can tell my if the I do the thing are good or not.
I'm wondering too if is normal that i can't get the total info of my user in the 'previousUser' ? It look like it return nothing.
0 Replies