Skip to content

Commit

Permalink
Fix protected branch creation #823
Browse files Browse the repository at this point in the history
  • Loading branch information
HighwayStar committed Feb 13, 2024
1 parent 746493c commit 9286506
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/use_cases/repository_protected_branches/member_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9286506

Please sign in to comment.