The update post route was only checking for non-empty parameters, so it was not updating them, even if that was the intention of the user. I have updated it to work with empty parameters, and added a validation rule on the username, since it is the one that is required, and must be unique.
The update
post
route was only checking for non-empty parameters, so it was not updating them, even if that was the intention of the user. I have updated it to work with empty parameters, and added a validation rule on theusername
, since it is the one that isrequired
, and must beunique
.