From 0ce6a04f97b9b0415e647d744ad3ac0b753e1758 Mon Sep 17 00:00:00 2001 From: mhmmdafif Date: Wed, 1 Apr 2026 15:09:24 +0700 Subject: [PATCH] repair: add cod-whatsapp-notif in process pm2 --- services/notifikasi-wa.service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/notifikasi-wa.service.js b/services/notifikasi-wa.service.js index eb3608d..3869d38 100644 --- a/services/notifikasi-wa.service.js +++ b/services/notifikasi-wa.service.js @@ -151,7 +151,7 @@ class NotifikasiWaService { async restartWhatsapp() { try { - const processName = "Whatsapp-API-notification"; + const processName = "Whatsapp-API-notification" && "cod-whatsapp-notif"; const { stdout } = await execPromise("pm2 jlist"); const processes = JSON.parse(stdout); const waProcess = processes.find((p) => p.name === processName);