mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
api: Remove encoding of string in update_user endpoint.
* Remove unnecessary json_validator for full_name parameter. * Update frontend to pass the right parameter. * Update documentation and note the change. Fixes #18409.
This commit is contained in:
committed by
Tim Abbott
parent
37d977f8f1
commit
1c1a1e2cad
@@ -574,7 +574,7 @@ function handle_human_form(tbody, status_field) {
|
||||
|
||||
const url = "/json/users/" + encodeURIComponent(user_id);
|
||||
const data = {
|
||||
full_name: JSON.stringify(full_name.val()),
|
||||
full_name: full_name.val(),
|
||||
role: JSON.stringify(role),
|
||||
profile_data: JSON.stringify(profile_data),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user