Simplified network response.
This commit is contained in:
1 parent
ef41712544
commit
fa50706541
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user