mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-01-30 13:49:25 -06:00
Simplified network response.
This commit is contained in:
@@ -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