From 2daeab8fae956066ff4a054072ce198072382ced Mon Sep 17 00:00:00 2001 From: milletbig Date: Sat, 17 Jun 2023 16:47:59 +0800 Subject: [PATCH] Update sendNotify.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 上次pr只修改了一个文件,后来发现还有一个地方需要修改。 --- function/sendNotify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/function/sendNotify.js b/function/sendNotify.js index 867c972..74dd43b 100644 --- a/function/sendNotify.js +++ b/function/sendNotify.js @@ -1916,7 +1916,7 @@ function PushDeerNotify(text, desp) { desp = desp.replace(/%0A/g, '%0A%0A'); const options = { url: `https://api2.pushdeer.com/message/push`, - body: `pushkey=${PUSHDEER_KEY}&text=${text}&desp=${desp}&type=markdown`, + body: `pushkey=${PUSHDEER_KEY}&text=${text}&desp=${desp}&type="markdown"`, headers: { 'Content-Type': 'application/x-www-form-urlencoded', },