From b06f2997489d58cc5a4375044e378c0565ea09d4 Mon Sep 17 00:00:00 2001
From: Unknwon <u@gogs.io>
Date: Sat, 25 Feb 2017 03:35:26 -0500
Subject: webhook: add fork event

---
 modules/form/repo.go | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'modules/form/repo.go')

diff --git a/modules/form/repo.go b/modules/form/repo.go
index df5ca49a..72acbaf8 100644
--- a/modules/form/repo.go
+++ b/modules/form/repo.go
@@ -23,7 +23,7 @@ import (
 //         \/        \/                   \/        \/                        \/       \/ \/
 
 type CreateRepo struct {
-	Uid         int64  `binding:"Required"`
+	UserID      int64  `binding:"Required"`
 	RepoName    string `binding:"Required;AlphaDashDot;MaxSize(100)"`
 	Private     bool
 	Description string `binding:"MaxSize(255)"`
@@ -136,6 +136,7 @@ type Webhook struct {
 	Events      string
 	Create      bool
 	Delete      bool
+	Fork        bool
 	Push        bool
 	PullRequest bool
 	Active      bool
-- 
cgit v1.2.3