Skip to content

Commit

Permalink
Merge pull request iDerekLi#72 from ZiuChen/dev
Browse files Browse the repository at this point in the history
fix: 修复`node-fetch`切换至`axios`的兼容问题
  • Loading branch information
iDerekLi authored Aug 10, 2022
2 parents c7c32f1 + 155f279 commit 78e158d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflows/utils/pushplus.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ async function main({ subject, text, html }) {
callbackUrl: "",
timestamp: ""
})
.then(res => res.json())
.then(res => res.data)
.then(json => {
console.log(`PushPlus推送结果: ` + json.msg);
return json;
Expand Down

0 comments on commit 78e158d

Please sign in to comment.