Update monitor status

This commit is contained in:
Alex Holliday committed 2024-07-03 13:19:47 -07:00
1 parent be9e5884bf
commit 04ff74dcef
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) {