mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 09:32:44 +01:00
parent
7796c9e122
commit
d950bf68e3
1 changed files with 0 additions and 8 deletions
|
@ -584,14 +584,6 @@ func (t *HookTask) deliver() {
|
|||
return
|
||||
}
|
||||
t.ResponseInfo.Body = string(p)
|
||||
|
||||
switch t.Type {
|
||||
case SLACK:
|
||||
if t.ResponseInfo.Body != "ok" {
|
||||
log.Error(5, "slack failed with: %s", t.ResponseInfo.Body)
|
||||
t.IsSucceed = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// DeliverHooks checks and delivers undelivered hooks.
|
||||
|
|
Loading…
Reference in a new issue