Simplified network response.

This commit is contained in:
Skorpios
2025-02-10 18:52:06 -08:00
parent ef41712544
commit fa50706541

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