From 769e30fee679bda3ca0e511b80a3f748c2c4a027 Mon Sep 17 00:00:00 2001 From: Appoip <99581678+Appoip@users.noreply.github.com> Date: Sun, 4 Sep 2022 11:19:05 +0800 Subject: [PATCH] Update notify.js --- sample/notify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample/notify.js b/sample/notify.js index 92eed3fa..9f9305cb 100644 --- a/sample/notify.js +++ b/sample/notify.js @@ -437,7 +437,7 @@ function ChatNotify(text, desp, time = 2100) { desp = encodeURI(desp); const options = { url: `${CHAT_URL}${CHAT_TOKEN}`, - body: `payload={"text":"${desp}"}`, + body: `payload={"text":"${text}\n${desp}"}`, headers: { 'Content-Type': 'application/x-www-form-urlencoded', },