parent
ea7ad382e7
commit
83a8944fcf
16 changed files with 327 additions and 3 deletions
|
@ -114,6 +114,11 @@ func prepareWebhook(w *models.Webhook, repo *models.Repository, event models.Hoo
|
|||
if err != nil {
|
||||
return fmt.Errorf("GetMSTeamsPayload: %v", err)
|
||||
}
|
||||
case models.FEISHU:
|
||||
payloader, err = GetFeishuPayload(p, event, w.Meta)
|
||||
if err != nil {
|
||||
return fmt.Errorf("GetFeishuPayload: %v", err)
|
||||
}
|
||||
default:
|
||||
p.SetSecret(w.Secret)
|
||||
payloader = p
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue