diff --git a/notify/wechat/wechat.go b/notify/wechat/wechat.go index 4ac101a4..2e3b2c29 100644 --- a/notify/wechat/wechat.go +++ b/notify/wechat/wechat.go @@ -66,8 +66,8 @@ type weChatMessageContent struct { } type weChatResponse struct { - Code int `json:"code"` - Error string `json:"error"` + Code int `json:"errcode"` + Error string `json:"errmsg"` } // New returns a new Wechat notifier.