mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +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
@@ -163,7 +163,7 @@ def update_user_backend(
|
||||
request: HttpRequest,
|
||||
user_profile: UserProfile,
|
||||
user_id: int,
|
||||
full_name: Optional[str] = REQ(default=None, json_validator=check_string),
|
||||
full_name: Optional[str] = REQ(default=None),
|
||||
role: Optional[int] = REQ(
|
||||
default=None,
|
||||
json_validator=check_int_in(
|
||||
|
||||
Reference in New Issue
Block a user