feat: notifikasi admin/monitoring via Telegram (WA fallback); alert staff dialihkan ke Telegram

This commit is contained in:
oxpoe
2026-10-09 09:23:06 +07:00
parent 52f6be26d1
commit e838645531
7 changed files with 35 additions and 9 deletions

View File

@@ -470,7 +470,7 @@ async function notifyAdminUnmatchedPayment(amount, rawText, service) {
'',
'Belum ada tagihan yang cocok. Cocokkan jam notif dengan bukti transfer pelanggan, lalu tandai lunas manual.'
];
await waNotify.sendToStaff(lines.join('\n'));
await waNotify.notifyAdmin(lines.join('\n'));
} catch (e) {}
}