Browse Source

暂时隐藏gitea创建hook的功能

tags/v1
sylor_huang@126.com 6 years ago
parent
commit
b1553b13b0
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      app/services/repositories/create_service.rb

+ 2
- 1
app/services/repositories/create_service.rb 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


Loading…
Cancel
Save