discord
This commit is contained in:
1 parent
fd33b903ed
commit
be82a7ee2d
3 files changed
+76
-16
No files matched your search
@@ -15,7 +15,8 @@ export class WebhookProvider implements INotificationProvider {
|
||||
return body;
|
||||
};
|
||||
|
||||
sendAlert = async (notification: Notification, monitor: Monitor, monitorStatusResponse: MonitorStatusResponse) => {
|
||||
sendAlert = async (notification: Notification, monitor: Monitor, monitorStatusResponse: MonitorStatusResponse) => {
|
||||
console.log("WebhookProvider.sendAlert called");
|
||||
let body;
|
||||
if (monitor.type === "hardware") {
|
||||
body = this.getHardwareContent(monitor, monitorStatusResponse);
|
||||
|
||||
Reference in new issue
Block a user