Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

state_data: Fix custom_profile_fields type for CHOICE → SELECT rename.

Anders Kaseorg823e8d871687
diff --git a/web/src/state_data.ts b/web/src/state_data.ts
index ca303d35503..cac1d071659 100644
--- a/web/src/state_data.ts
+++ b/web/src/state_data.ts
@@ -34,7 +34,7 @@ export let realm: {
id: number;
name: string;
};
- CHOICE: {
+ SELECT: {
id: number;
name: string;
};
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index 397a38572eb..2ca5dc7f9c4 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -12034,7 +12034,7 @@ paths:
- `SHORT_TEXT`
- `LONG_TEXT`
- `DATE` for date-based fields.
- - `CHOICE` for a list of options.
+ - `SELECT` for a list of options.
- `URL` for links.
- `EXTERNAL_ACCOUNT` for external accounts.
- `USER` for selecting a user for the field.