zulip/zerver/openapi
Sahil Batra 690420ffa0 populate_db: Fix data for "Favorite editor" custom field.
The field_data sent from client while creating a select
type field is a dict with a number as key.

In development database the field data for "Favorite editor"
field was of different form where the option label was used
as key in the dict.

This commit fixes it to be of the same as it is when creating
a field from web-app. As a result, we also need to update
the tests and this commit also update field_data for other
select-type fields.
2022-07-15 16:51:24 -07:00
..
__init__.py openapi: Add missing __init__.py; fix type errors hidden by its absence. 2021-07-05 12:20:39 -07:00
curl_param_value_generators.py events: Pass an explicit realm to do_events_register. 2022-05-05 15:17:07 -07:00
javascript_examples.js eslint: Fix unicorn/no-new-array. 2021-01-25 14:53:19 -08:00
javascript_examples.py python: Replace universal_newlines with text. 2022-01-23 22:16:01 -08:00
markdown_extension.py markdown: Rename preprocessor_priorities module to priorities. 2022-06-26 17:36:31 -07:00
openapi.py docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
python_examples.py openapi: Validate Python example responses against the entire schema. 2022-01-13 14:34:11 -08:00
test_curl_examples.py python: Replace universal_newlines with text. 2022-01-23 22:16:01 -08:00
testing.yaml test_openapi: Make testing.yml a full conformant specification. 2022-01-13 14:34:11 -08:00
zulip.yaml populate_db: Fix data for "Favorite editor" custom field. 2022-07-15 16:51:24 -07:00