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

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

No files matched your search

+1 -1
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) {}
}