diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-17 15:08:42 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-17 15:08:42 +0300 |
commit | b487021bd3f785d6348c13746fda6ce9043a99c5 (patch) | |
tree | e75c483fae6089d597c9150a6e571ee17d589fe9 /app/models/project_team.rb | |
parent | 0fd229655348c98448022fd293b42666b28eace5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/project_team.rb')
-rw-r--r-- | app/models/project_team.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/project_team.rb b/app/models/project_team.rb index 16339c98b90..4ae3bc01a01 100644 --- a/app/models/project_team.rb +++ b/app/models/project_team.rb @@ -42,7 +42,7 @@ class ProjectTeam end def add_users(users, access_level, current_user: nil, expires_at: nil) - Members::Projects::CreatorService.add_users( # rubocop:todo CodeReuse/ServiceClass + Members::Projects::CreatorService.add_users( # rubocop:disable CodeReuse/ServiceClass project, users, access_level, @@ -52,7 +52,7 @@ class ProjectTeam end def add_user(user, access_level, current_user: nil, expires_at: nil) - Members::Projects::CreatorService.new(project, # rubocop:todo CodeReuse/ServiceClass + Members::Projects::CreatorService.new(project, # rubocop:disable CodeReuse/ServiceClass user, access_level, current_user: current_user, |