[import] - fix project import after refactoring
This commit is contained in:
parent
efe2f5f8c7
commit
621ca86b9e
|
@ -44,7 +44,7 @@ namespace :gitlab do
|
|||
:name => path,
|
||||
}
|
||||
|
||||
project = Project.create_by_user(project_params, user)
|
||||
project = Projects::CreateContext.new(user, project_params).execute
|
||||
|
||||
if project.valid?
|
||||
puts " * Created #{project.name} (#{repo_name})".green
|
||||
|
|
Loading…
Reference in a new issue