feat: notifikasi admin/monitoring via Telegram (WA fallback); alert staff dialihkan ke Telegram
This commit is contained in:
1 parent
52f6be26d1
commit
e838645531
7 files changed
+35
-9
No files matched your search
+1
-1
@@ -265,7 +265,7 @@ let sendMonitoringAlert = null;
|
||||
(async () => {
|
||||
try {
|
||||
const whatsappBot = await import('../services/whatsappBot.mjs');
|
||||
sendMonitoringAlert = whatsappBot.sendMonitoringAlert;
|
||||
sendMonitoringAlert = require('../services/waNotifyService').notifyAdmin;
|
||||
logger.info('[GenieACS] WhatsApp monitoring alert integration loaded');
|
||||
} catch (error) {
|
||||
logger.warn('[GenieACS] WhatsApp bot not available for monitoring alerts');
|
||||
|
||||
Reference in new issue
Block a user