mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
api: Fix encoding of strings in display settings endpoint.
* Remove unnecessary json validator for string validator. * Update frontend to pass right validator. * Update zulip.yaml to pass right parameter for curl request in openapi. * Update python_examples to pass right paramater. Fixes part of #18035.
This commit is contained in:
committed by
Tim Abbott
parent
544bbd5398
commit
9abe1cafbe
@@ -1131,7 +1131,7 @@ def update_display_settings(client: Client) -> None:
|
||||
# Change emoji set used for display to Google modern.
|
||||
request = {
|
||||
"left_side_userlist": True,
|
||||
"emojiset": '"google"',
|
||||
"emojiset": "google",
|
||||
}
|
||||
result = client.call_endpoint("settings/display", method="PATCH", request=request)
|
||||
# {code_example|end}
|
||||
|
||||
Reference in New Issue
Block a user