Browse Source

FIX .

tags/v1.0.0
Jasder 5 years ago
parent
commit
5cc5404915
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/controllers/ci/cloud_accounts_controller.rb

+ 2
- 2
app/controllers/ci/cloud_accounts_controller.rb View File

@@ -156,10 +156,10 @@ class Ci::CloudAccountsController < Ci::BaseController
hook_params = {
active: true,
config: {
content_type: json,
content_type: "json",
url: cloud_account.drone_url + "/hook?secret=#{repo.repo_signer}"
},
type: gitea
type: "gitea"
}
Rails.logger.info "----------bind hook -------- #{hook_params}"
result = Gitea::Hooks::CreateService.call(user.gitea_token, user.login, repo.repo_name, hook_params)


Loading…
Cancel
Save