streams: Rename can_remove_subscribers_group_id parameter.

Earlier the API endpoints related to streams accepts and returns a
field `can_remove_subscribers_group_id` which represents the ID
of user_group whose members can remove subscribers from stream.

This commit renames this field to `can_remove_subscribers_group`.
This commit is contained in:
Ujjawal Modi
2023-07-12 16:27:57 +05:30
committed by Tim Abbott
parent 5ccb408f19
commit c8bcb422f5
22 changed files with 118 additions and 85 deletions

View File

@@ -259,7 +259,7 @@ function create_stream() {
stream_settings_ui.new_stream_can_remove_subscribers_group_widget.value(),
10,
);
data.can_remove_subscribers_group_id = can_remove_subscribers_group_id;
data.can_remove_subscribers_group = can_remove_subscribers_group_id;
loading.make_indicator($("#stream_creating_indicator"), {
text: $t({defaultMessage: "Creating stream..."}),