Refactor webhook (#31587)

A more complete fix for #31588

1. Make "generic" code more readable
2. Clarify HTML or Markdown for the payload content
This commit is contained in:
wxiaoguang authored and GitHub committed 2024-07-10 11:37:16 +00:00
1 parent 4ea2a6de81
commit 72b6bc8caf
18 files changed
+173 -182

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ import (
)
func init() {
notify_service.RegisterNotifier(&webhookNotifier{})
notify_service.RegisterNotifier(NewNotifier())
}
type webhookNotifier struct {