Commit 621ca86b9edc9f4086f28ab469b3ca3d5b35b82a
1 parent
efe2f5f8
Exists in
master
and in
4 other branches
[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,7 +44,7 @@ namespace :gitlab do | ||
44 | :name => path, | 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 | if project.valid? | 49 | if project.valid? |
50 | puts " * Created #{project.name} (#{repo_name})".green | 50 | puts " * Created #{project.name} (#{repo_name})".green |