Browse Source

re-add the invocation of create_repo_on_blockchain when creating projects

pull/323/head
zhangxunhui 3 years ago
parent
commit
38333ab7b1
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      app/services/projects/create_service.rb

+ 3
- 0
app/services/projects/create_service.rb View File

@@ -17,6 +17,9 @@ class Projects::CreateService < ApplicationService
ProjectUnit.init_types(@project.id)
Repositories::CreateService.new(user, @project, repository_params).call
upgrade_project_category_private_projects_count
if repo_use_blockchain
create_repo_on_blockchain(params, @project)
end
else
Rails.logger.info("#############___________create_project_erros______###########{@project.errors.messages}")
end


Loading…
Cancel
Save