Add option secret to Monitor for monitors that require authentication
This commit is contained in:
1 parent
b1abe87633
commit
7fd63f8004
1 file changed
+3
@@ -61,6 +61,9 @@ const MonitorSchema = mongoose.Schema(
|
|||||||
ref: "Notification",
|
ref: "Notification",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
secret: {
|
||||||
|
type: String,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
timestamps: true,
|
timestamps: true,
|
||||||
|
|||||||
Reference in new issue
Block a user