mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 07:23:22 +00:00
We refactor the validator of `update_user_custom_profile_data` to ensure that the validated variable is properly typed as a `ProfileDataElementUpdateDict`, so we can call `validate_user_custom_profile_data` and `do_update_user_custom_profile_data_if_changed` directly later (unlike `update_user_backend`, where `value` is allowed to be `None`, the validator already ensures that no further check is required).
8.0 KiB
8.0 KiB