diff options
Diffstat (limited to 'modules/webhook/webhook.go')
-rw-r--r-- | modules/webhook/webhook.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/webhook/webhook.go b/modules/webhook/webhook.go index 410e47461f..2fab0803bc 100644 --- a/modules/webhook/webhook.go +++ b/modules/webhook/webhook.go @@ -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 |