mirror of
https://github.com/adnanh/webhook.git
synced 2025-10-05 14:11:02 +00:00
Added HttpResponseCode hook setting
This commit is contained in:
parent
2fb08ab579
commit
07bd34301c
3 changed files with 19 additions and 7 deletions
|
@ -391,6 +391,7 @@ type Hook struct {
|
|||
JSONStringParameters []Argument `json:"parse-parameters-as-json,omitempty"`
|
||||
TriggerRule *Rules `json:"trigger-rule,omitempty"`
|
||||
TriggerRuleMismatchHttpResponseCode int `json:"trigger-rule-mismatch-http-response-code,omitempty"`
|
||||
HttpResponseCode int `json:"http-response-code,omitempty"`
|
||||
}
|
||||
|
||||
// ParseJSONParameters decodes specified arguments to JSON objects and replaces the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue