修改上链操作的reponame为id

This commit is contained in:
sylor_huang@126.com 2020-05-13 10:55:55 +08:00
parent 6436dcff9c
commit 82114942ab
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ class Repositories::CreateService < ApplicationService
chain_params = { chain_params = {
type: "create", type: "create",
ownername: user.try(:login), ownername: user.try(:login),
reponame: @repository.try(:identifier) reponame: @repository.try(:id)
} }
ProjectCreateChainJob.perform_later(chain_params) #创建上链操作 ProjectCreateChainJob.perform_later(chain_params) #创建上链操作
#暂时gitea的hook功能未完善 #暂时gitea的hook功能未完善