Commit 621ca86b authored by Erwan Arzur's avatar Erwan Arzur

[import] - fix project import after refactoring

parent efe2f5f8
...@@ -44,7 +44,7 @@ namespace :gitlab do ...@@ -44,7 +44,7 @@ namespace :gitlab do
:name => path, :name => path,
} }
project = Project.create_by_user(project_params, user) project = Projects::CreateContext.new(user, project_params).execute
if project.valid? if project.valid?
puts " * Created #{project.name} (#{repo_name})".green puts " * Created #{project.name} (#{repo_name})".green
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment