Skip to content
Snippets Groups Projects
Commit 3adf35fb authored by skv's avatar skv
Browse files

pluck user_ids during team import

parent 26c8b316
No related branches found
No related tags found
1 merge request!5865pluck user_ids during team import
Loading
Loading
@@ -88,8 +88,7 @@ class ProjectTeam
target_project = project
 
source_team = source_project.users_projects.to_a
target_team = target_project.users_projects.to_a
target_user_ids = target_team.map(&:user_id)
target_user_ids = target_project.users_projects.pluck(:user_id)
 
source_team.reject! do |tm|
# Skip if user already present in team
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment