修复 notify.js 飞书通知

This commit is contained in:
whyour 2022-10-30 18:59:48 +08:00
parent 2ba8756bd3
commit f93cbbf508

View File

@ -987,7 +987,7 @@ function fsBotNotify(text, desp) {
if (FSKEY) {
const options = {
url: `https://open.feishu.cn/open-apis/bot/v2/hook/${FSKEY}`,
json: { msg_type: 'text', content: { text: `${title}\n\n${content}` } },
json: { msg_type: 'text', content: { text: `${text}\n\n${desp}` } },
headers: {
'Content-Type': 'application/json',
},