mirror of https://github.com/allinssl/allinssl
缩进统一为tab
parent
1f1c7df474
commit
3b9144ab4b
|
@ -207,8 +207,8 @@ func NotifyWebHook(params map[string]any) error {
|
|||
config.Data = strings.ReplaceAll(config.Data, "\n", `\n`)
|
||||
|
||||
if !json.Valid([]byte(config.Data)) {
|
||||
return fmt.Errorf("通知主题或通知内容包含特殊字符,消息配置字段替换失败")
|
||||
}
|
||||
return fmt.Errorf("通知主题或通知内容包含特殊字符,消息配置字段替换失败")
|
||||
}
|
||||
|
||||
reporter := NewWebHookReporter(&config, logger)
|
||||
httpctx := context.Background()
|
||||
|
|
Loading…
Reference in New Issue