Merge pull request #2695 from earzur/hotfix/fix_import_refactoring
[import] - fix project import after refactoring
This commit is contained in:
commit
65737bd5bd
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue