From 51a2d5a61e20570e3f87bdd16b7a8f10c451579b Mon Sep 17 00:00:00 2001 From: nguyentrungthat <80239428+nguentrungthat@users.noreply.github.com> Date: Tue, 28 Apr 2026 15:23:04 +0700 Subject: [PATCH] update gitignore --- src/index.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/index.js b/src/index.js index f7d1c61..3403a0b 100644 --- a/src/index.js +++ b/src/index.js @@ -179,15 +179,15 @@ async function notifyTelegram(message) { } try { - // await axios.post( - // `https://api.telegram.org/bot${TELEGRAM_BOT_TOKEN}/sendMessage`, - // { - // chat_id: TELEGRAM_CHAT_ID, - // text: message, - // parse_mode: 'HTML' - // } - // ); - console.log(message); + await axios.post( + `https://api.telegram.org/bot${TELEGRAM_BOT_TOKEN}/sendMessage`, + { + chat_id: TELEGRAM_CHAT_ID, + text: message, + parse_mode: 'HTML' + } + ); + // console.log(message); console.log('✓ Telegram notification sent'); } catch (error) { console.error('✗ Failed to send Telegram notification:', error.response?.data || error.message);