user groups: Make name and description optional in group update.

View that handled `PATCH user_groups/<int:user_group_id>` required
both name and description parameters to be passed. Due to this
clients had to pass values for both these parameters even if
one of them was changed.

To resolve this name description parameters to
`PATCH user_groups/<int:user_group_id>` are made optional.
This commit is contained in:
m-e-l-u-h-a-n
2023-02-26 21:17:58 +05:30
committed by Tim Abbott
parent 508ac58dc0
commit ab4e6a94c5
5 changed files with 22 additions and 9 deletions

View File

@@ -20,6 +20,10 @@ format used by the Zulip server that they are interacting with.
## Changes in Zulip 7.0
**Feature level 165**
* [`PATCH /user_groups/{user_group_id}`](/api/update-user-group): The
`name` and `description` parameters are now optional.
**Feature level 164**
* [`POST /register`](/api/register-queue): Added the