aboutsummaryrefslogtreecommitdiffstats
path: root/modules/structs/hook.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/structs/hook.go')
-rw-r--r--modules/structs/hook.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/structs/hook.go b/modules/structs/hook.go
index cd91d4bc46..0babe84410 100644
--- a/modules/structs/hook.go
+++ b/modules/structs/hook.go
@@ -19,6 +19,7 @@ var ErrInvalidReceiveHook = errors.New("Invalid JSON payload received over webho
type Hook struct {
ID int64 `json:"id"`
Type string `json:"type"`
+ BranchFilter string `json:"branch_filter"`
URL string `json:"-"`
Config map[string]string `json:"config"`
Events []string `json:"events"`