mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-04-29 13:10:03 -05:00
Fix variable assignment in
This commit is contained in:
@@ -104,8 +104,7 @@ class NetworkService {
|
||||
monitor: monitor,
|
||||
template: isAlive === true ? "serverIsUpTemplate" : "serverIsDownTemplate",
|
||||
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user