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 {
// 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);