mirror of
https://github.com/d0zingcat/MoviePilot-Plugins.git
synced 2026-05-13 15:09:12 +00:00
Merge pull request #806 from VantStark/main
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user