update gitignore

This commit is contained in:
nguyentrungthat 2026-04-28 15:23:04 +07:00
parent 1ec3a710b2
commit 51a2d5a61e
1 changed files with 9 additions and 9 deletions

View File

@ -179,15 +179,15 @@ async function notifyTelegram(message) {
} }
try { try {
// await axios.post( await axios.post(
// `https://api.telegram.org/bot${TELEGRAM_BOT_TOKEN}/sendMessage`, `https://api.telegram.org/bot${TELEGRAM_BOT_TOKEN}/sendMessage`,
// { {
// chat_id: TELEGRAM_CHAT_ID, chat_id: TELEGRAM_CHAT_ID,
// text: message, text: message,
// parse_mode: 'HTML' parse_mode: 'HTML'
// } }
// ); );
console.log(message); // console.log(message);
console.log('✓ Telegram notification sent'); console.log('✓ Telegram notification sent');
} catch (error) { } catch (error) {
console.error('✗ Failed to send Telegram notification:', error.response?.data || error.message); console.error('✗ Failed to send Telegram notification:', error.response?.data || error.message);