From 5ddb32f3820a16294948fad34095eb4b009597ba Mon Sep 17 00:00:00 2001 From: Liam McAndrew Date: Tue, 28 May 2019 10:31:51 +0000 Subject: Fix order dependency with user params during imports --- lib/gitlab/import_export/members_mapper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/gitlab/import_export/members_mapper.rb b/lib/gitlab/import_export/members_mapper.rb index 5ab5059165e..a154de5419e 100644 --- a/lib/gitlab/import_export/members_mapper.rb +++ b/lib/gitlab/import_export/members_mapper.rb @@ -63,7 +63,7 @@ module Gitlab 'source_id' => @project.id, 'importing' => true, 'access_level' => [member['access_level'], ProjectMember::MAINTAINER].min - ) + ).except('user_id') end def parsed_hash(member) -- cgit v1.2.1