mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 08:26:11 +00:00
Creates an IncompatibleParametersError to be used in cases where there are two (or more) optional parameters for an endpoint that are incompatible with each other, e.g. there's a parameter for a user name and a user ID but only one should be sent in the request to identify the user. Documents the error on the /api/rest-error-handling article. Updates the PATCH users/me/subscriptions/muted_topics endpoint to use this error when both the stream and stream_id parameters are passed (note this endpoint is currently deprecated).
36 KiB
36 KiB