Simplified network response.

This commit is contained in:
Skorpios committed 2025-02-10 18:52:06 -08:00
1 parent ef41712544
commit fa50706541
1 file changed
+1 -1
+1 -1
View File
@@ -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