From fa50706541e6c49512a2153a3379a720fcb57ff4 Mon Sep 17 00:00:00 2001 From: Skorpios Date: Mon, 10 Feb 2025 18:52:06 -0800 Subject: [PATCH] Simplified network response. --- Server/service/notificationService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/service/notificationService.js b/Server/service/notificationService.js index 59698f0c5..1e0202d39 100644 --- a/Server/service/notificationService.js +++ b/Server/service/notificationService.js @@ -125,7 +125,7 @@ class NotificationService { for (const notification of notifications) { if (notification.type === "email") { this.sendEmail(networkResponse, notification.address); - } else if (["discord", "slack", "telegram"].includes(notification.type)) { + } else if (notification.type === "webhook") { this.sendWebhookNotification(networkResponse, notification.address, notification.type); // Handle other types of notifications here