From 626c9fa9a44624fd1e69273e8597fb645ff8f198 Mon Sep 17 00:00:00 2001 From: kan3Git <57619461+kan3Git@users.noreply.github.com> Date: Sat, 26 Mar 2022 17:08:19 +0800 Subject: [PATCH] Update notify.js --- sample/notify.js | 1 - 1 file changed, 1 deletion(-) diff --git a/sample/notify.js b/sample/notify.js index 01175e31..789f6125 100644 --- a/sample/notify.js +++ b/sample/notify.js @@ -529,7 +529,6 @@ function tgBotNotify(text, desp) { if (TG_BOT_TOKEN && TG_USER_ID) { const options = { url: `https://${TG_API_HOST}/bot${TG_BOT_TOKEN}/sendMessage`, - //body: `chat_id=${TG_USER_ID}&text=${text}\n\n${desp}&disable_web_page_preview=true`, json: { chat_id: `${TG_USER_ID}`, text: `${text}\n\n${desp}`,