mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
@@ -72,7 +72,10 @@ func (this *DingDingNotifier) Notify(evalContext *alerting.EvalContext) error {
|
|||||||
this.log.Error("Failed to create Json data", "error", err, "dingding", this.Name)
|
this.log.Error("Failed to create Json data", "error", err, "dingding", this.Name)
|
||||||
}
|
}
|
||||||
|
|
||||||
body, _ := bodyJSON.MarshalJSON()
|
body, err := bodyJSON.MarshalJSON()
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
cmd := &m.SendWebhookSync{
|
cmd := &m.SendWebhookSync{
|
||||||
Url: this.Url,
|
Url: this.Url,
|
||||||
|
|||||||
Reference in New Issue
Block a user