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