From f831970067312af63c63f89fc70dddb041b70036 Mon Sep 17 00:00:00 2001 From: vantstark Date: Sat, 14 Jun 2025 11:08:24 +0800 Subject: [PATCH] fix workwechatmsg content-type --- plugins/workwechatmsg/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/workwechatmsg/__init__.py b/plugins/workwechatmsg/__init__.py index f5ddc7d..45c03da 100644 --- a/plugins/workwechatmsg/__init__.py +++ b/plugins/workwechatmsg/__init__.py @@ -196,7 +196,7 @@ class WorkWechatMsg(_PluginBase): } } - res = RequestUtils().post_res(url=self._webhookurl, json=payload) + res = RequestUtils(content_type="application/json").post_res(url=self._webhookurl, json=payload) if res and res.status_code == 200: ret_json = res.json() errno = ret_json.get('errcode')