fix wechat notifier response field name (#3330)

Signed-off-by: gotjosh <josue.abreu@gmail.com>
This commit is contained in:
r0nn 2023-04-28 19:40:49 +08:00 committed by GitHub
parent 9a8d1f976e
commit f040f089aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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.