aboutsummaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
Diffstat (limited to 'routers')
-rw-r--r--routers/repo/repo.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/repo/repo.go b/routers/repo/repo.go
index e4bc6d2443..2c97216406 100644
--- a/routers/repo/repo.go
+++ b/routers/repo/repo.go
@@ -188,6 +188,8 @@ func CreatePost(ctx *context.Context, form auth.CreateRepoForm) {
Private: form.Private,
GitContent: form.GitContent,
Topics: form.Topics,
+ GitHooks: form.GitHooks,
+ Webhooks: form.Webhooks,
}
if !opts.IsValid() {