Merge pull request #253 from bluewave-labs/fix/monitor-status

Update monitor status
This commit is contained in:
Alexander Holliday authored and GitHub committed 2024-07-03 13:21:10 -07:00
commit eb8aa4725a
1 file changed
+1
+1
View File
@@ -50,6 +50,7 @@ CheckSchema.pre("save", async function (next) {
// TODO issue alert // TODO issue alert
console.log("Monitor went up"); console.log("Monitor went up");
} }
monitor.status = this.status;
await monitor.save(); await monitor.save();
} }
} catch (error) { } catch (error) {