修改create_service的错误

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

View File

@ -17,7 +17,7 @@ class Repositories::CreateService < ApplicationService
if project.project_type == "common" if project.project_type == "common"
hook_params = { hook_params = {
active: true, active: true,
type: "gitea" type: "gitea",
branch_filter: "", branch_filter: "",
config: { config: {
content_type: "application/json", content_type: "application/json",