We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 206a8b4 commit f583341Copy full SHA for f583341
bitbucket/bitbucket.go
@@ -93,7 +93,7 @@ func (hook Webhook) Parse(r *http.Request, events ...Event) (interface{}, error)
93
}
94
95
uuid := r.Header.Get("X-Hook-UUID")
96
- if uuid == "" {
+ if hook.uuid != "" && uuid == "" {
97
return nil, ErrMissingHookUUIDHeader
98
99
0 commit comments