fix: do not filter webhooks by org

This commit is contained in:
Yang Luo
2024-02-06 20:33:11 +08:00
parent a60be2b2ab
commit 3a19d4c7c8

View File

@ -116,7 +116,7 @@ func getFilteredWebhooks(webhooks []*Webhook, action string) []*Webhook {
}
func SendWebhooks(record *casvisorsdk.Record) error {
webhooks, err := getWebhooksByOrganization(record.Organization)
webhooks, err := getWebhooksByOrganization("")
if err != nil {
return err
}