diff --git a/Server/models/Check.js b/Server/models/Check.js index 339c21482..7732fd312 100644 --- a/Server/models/Check.js +++ b/Server/models/Check.js @@ -50,6 +50,7 @@ CheckSchema.pre("save", async function (next) { // TODO issue alert console.log("Monitor went up"); } + monitor.status = this.status; await monitor.save(); } } catch (error) {