diff --git a/app/use_cases/repository_protected_branches/member_manager.rb b/app/use_cases/repository_protected_branches/member_manager.rb index 3edada148a4..ddab2614c6b 100644 --- a/app/use_cases/repository_protected_branches/member_manager.rb +++ b/app/use_cases/repository_protected_branches/member_manager.rb @@ -38,11 +38,11 @@ def add_groups(ids) end def create_user_member(ids, current_ids, opts = {}, &block) - create_member(ids, current_ids, User, opts, &block) + create_member(ids, current_ids, User, **opts, &block) end def create_group_member(ids, current_ids, opts = {}, &block) - create_member(ids, current_ids, Group, opts, &block) + create_member(ids, current_ids, Group, **opts, &block) end def add_user_from_group(user, group_id)