diff options
Diffstat (limited to 'modules/form/repo.go')
-rw-r--r-- | modules/form/repo.go | 3 |
1 files changed, 2 insertions, 1 deletions
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 |