Add option secret to Monitor for monitors that require authentication

This commit is contained in:
Alex Holliday committed 2024-10-29 13:47:30 +08:00
1 parent b1abe87633
commit 7fd63f8004
1 file changed
+3
+3
View File
@@ -61,6 +61,9 @@ const MonitorSchema = mongoose.Schema(
ref: "Notification", ref: "Notification",
}, },
], ],
secret: {
type: String,
},
}, },
{ {
timestamps: true, timestamps: true,