diff --git a/Server/models/Check.js b/Server/models/Check.js index 2bcb912f4..339c21482 100644 --- a/Server/models/Check.js +++ b/Server/models/Check.js @@ -34,6 +34,7 @@ const CheckSchema = mongoose.Schema( /** * When a check is created, we should update the stauts of the associated monitor * if it has changed. Monitor starts with default status: true + * @param {function} next - Callback to proceed to the next middleware. */ CheckSchema.pre("save", async function (next) {