修改上链操作的reponame为id

This commit is contained in:
sylor_huang@126.com
2020-05-13 10:55:55 +08:00
parent 6436dcff9c
commit 82114942ab

View File

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