Commit 65737bd5bd6eb65556699a176e69757a3ac8c37a
Exists in
master
and in
4 other branches
Merge pull request #2695 from earzur/hotfix/fix_import_refactoring
[import] - fix project import after refactoring
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/tasks/gitlab/import.rake
... | ... | @@ -44,7 +44,7 @@ namespace :gitlab do |
44 | 44 | :name => path, |
45 | 45 | } |
46 | 46 | |
47 | - project = Project.create_by_user(project_params, user) | |
47 | + project = Projects::CreateContext.new(user, project_params).execute | |
48 | 48 | |
49 | 49 | if project.valid? |
50 | 50 | puts " * Created #{project.name} (#{repo_name})".green | ... | ... |