diff --git a/Server/db/models/Notification.js b/Server/db/models/Notification.js index 868324cc2..895b66362 100644 --- a/Server/db/models/Notification.js +++ b/Server/db/models/Notification.js @@ -38,6 +38,12 @@ const NotificationSchema = mongoose.Schema( return this.alertThreshold; }, }, + tempAlertThreshold: { + type: Number, + default: function () { + return this.alertThreshold; + }, + }, }, { timestamps: true,