re-add the invocation of create_repo_on_blockchain when creating projects
This commit is contained in:
parent
cc9f2214b5
commit
38333ab7b1
|
@ -17,6 +17,9 @@ class Projects::CreateService < ApplicationService
|
||||||
ProjectUnit.init_types(@project.id)
|
ProjectUnit.init_types(@project.id)
|
||||||
Repositories::CreateService.new(user, @project, repository_params).call
|
Repositories::CreateService.new(user, @project, repository_params).call
|
||||||
upgrade_project_category_private_projects_count
|
upgrade_project_category_private_projects_count
|
||||||
|
if repo_use_blockchain
|
||||||
|
create_repo_on_blockchain(params, @project)
|
||||||
|
end
|
||||||
else
|
else
|
||||||
Rails.logger.info("#############___________create_project_erros______###########{@project.errors.messages}")
|
Rails.logger.info("#############___________create_project_erros______###########{@project.errors.messages}")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue