Skip to content

Commit 621ca86

Browse files
author
Erwan Arzur
committed
[import] - fix project import after refactoring
1 parent efe2f5f commit 621ca86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tasks/gitlab/import.rake

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ namespace :gitlab do
4444
:name => path,
4545
}
4646

47-
project = Project.create_by_user(project_params, user)
47+
project = Projects::CreateContext.new(user, project_params).execute
4848

4949
if project.valid?
5050
puts " * Created #{project.name} (#{repo_name})".green

0 commit comments

Comments
 (0)