暂时隐藏gitea创建hook的功能

This commit is contained in:
sylor_huang@126.com 2020-05-13 09:20:57 +08:00
parent 30a8367d09
commit b1553b13b0
1 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,8 @@ class Repositories::CreateService < ApplicationService
reponame: @repository.try(:identifier)
}
ProjectCreateChainJob.perform_later(chain_params) #创建上链操作
Gitea::Repository::Hooks::CreateService.new(user, @repository.try(:identifier), hook_params).call #创建gitea的hook功能
#暂时gitea的hook功能未完善
#Gitea::Repository::Hooks::CreateService.new(user, @repository.try(:identifier), hook_params).call #创建gitea的hook功能
end
end
@repository