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.

custom_profile_fields: Revert incorrect early-converted hunk.

Tim Abbottd89c40507497
diff --git a/zerver/models.py b/zerver/models.py
index 829b0f9a5e3..f793100f184 100644
--- a/zerver/models.py
+++ b/zerver/models.py
@@ -3308,7 +3308,7 @@ class CustomProfileField(models.Model):
# and value argument. i.e. SELECT require field_data, USER require
# realm as argument.
SELECT_FIELD_TYPE_DATA: List[ExtendedFieldElement] = [
- (SELECT, ugettext_lazy("List of options"), validate_select_field, str, "SELECT"),
+ (SELECT, ugettext_lazy("List of options"), validate_select_field, str, "CHOICE"),
]
USER_FIELD_TYPE_DATA: List[UserFieldElement] = [
(USER, ugettext_lazy("Person picker"), check_valid_user_ids, ast.literal_eval, "USER"),