mirror of
https://github.com/adnanh/webhook.git
synced 2025-10-04 21:51:02 +00:00
feat: add new hook option keep-file-environment
This commit is contained in:
parent
f187592147
commit
fe539f46b5
3 changed files with 49 additions and 0 deletions
|
@ -581,6 +581,7 @@ type Hook struct {
|
|||
IncomingPayloadContentType string `json:"incoming-payload-content-type,omitempty"`
|
||||
SuccessHttpResponseCode int `json:"success-http-response-code,omitempty"`
|
||||
HTTPMethods []string `json:"http-methods"`
|
||||
KeepFileEnvironment bool `json:"keep-file-environment,omitempty"`
|
||||
}
|
||||
|
||||
// ParseJSONParameters decodes specified arguments to JSON objects and replaces the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue