mirror of
https://github.com/prometheus/alertmanager
synced 2025-02-16 10:37:09 +00:00
fix wechat notifier response field name (#3330)
Signed-off-by: gotjosh <josue.abreu@gmail.com>
This commit is contained in:
parent
9a8d1f976e
commit
f040f089aa
@ -66,8 +66,8 @@ type weChatMessageContent struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type weChatResponse struct {
|
type weChatResponse struct {
|
||||||
Code int `json:"code"`
|
Code int `json:"errcode"`
|
||||||
Error string `json:"error"`
|
Error string `json:"errmsg"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// New returns a new Wechat notifier.
|
// New returns a new Wechat notifier.
|
||||||
|
Loading…
Reference in New Issue
Block a user