removeWebhook method added.
This commit is contained in:
parent
53dd9f6367
commit
9644984dae
4 changed files with 9 additions and 12 deletions
|
@ -206,8 +206,7 @@ func NewWebhook(link string) WebhookConfig {
|
|||
u, _ := url.Parse(link)
|
||||
|
||||
return WebhookConfig{
|
||||
URL: u,
|
||||
Clear: false,
|
||||
URL: u,
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -220,7 +219,6 @@ func NewWebhookWithCert(link string, file interface{}) WebhookConfig {
|
|||
|
||||
return WebhookConfig{
|
||||
URL: u,
|
||||
Clear: false,
|
||||
Certificate: file,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue