re-add the invocation of create_repo_on_blockchain when creating projects

This commit is contained in:
zhangxunhui 2023-01-28 10:12:01 +08:00
parent cc9f2214b5
commit 38333ab7b1
1 changed files with 3 additions and 0 deletions

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