Add indeterminate state to monitors

This commit is contained in:
Alex Holliday committed 2024-09-02 10:45:07 -07:00
1 parent aa81e47fae
commit 071a7fc9cf
7 files changed
+60 -33

No files matched your search

+2 -2
View File
@@ -24,7 +24,7 @@ const MonitorSchema = mongoose.Schema(
},
status: {
type: Boolean,
default: true,
default: undefined,
},
type: {
type: String,
@@ -46,7 +46,7 @@ const MonitorSchema = mongoose.Schema(
},
uptimePercentage: {
type: Number,
default: undefined,
default: undefined,
},
notifications: [
{