Skip to content

Commit

Permalink
fix: 修复node-fetch切换至axios的兼容问题
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiuChen committed Aug 10, 2022
1 parent 6ff0492 commit 155f279
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 155f279

Please sign in to comment.