Fix variable assignment in
This commit is contained in:
1 parent
70872c368d
commit
50c6e32d6e
1 file changed
+1
-2
@@ -104,8 +104,7 @@ class NetworkService {
|
|||||||
monitor: monitor,
|
monitor: monitor,
|
||||||
template: isAlive === true ? "serverIsUpTemplate" : "serverIsDownTemplate",
|
template: isAlive === true ? "serverIsUpTemplate" : "serverIsDownTemplate",
|
||||||
context: { monitorName: monitor.name, monitorUrl: monitor.url },
|
context: { monitorName: monitor.name, monitorUrl: monitor.url },
|
||||||
subject:
|
subject: `Monitor ${monitor.name} is ${isAlive === true ? "up" : "down"}`,
|
||||||
(subject = `Monitor ${monitor.name} is ${isAlive === true ? "up" : "down"}`),
|
|
||||||
};
|
};
|
||||||
this.handleNotification(config);
|
this.handleNotification(config);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user