Add hardware type to monitor model
This commit is contained in:
1 parent
ddb058b58c
commit
0190624a91
1 file changed
+1
-1
@@ -29,7 +29,7 @@ const MonitorSchema = mongoose.Schema(
|
|||||||
type: {
|
type: {
|
||||||
type: String,
|
type: String,
|
||||||
required: true,
|
required: true,
|
||||||
enum: ["http", "ping", "pagespeed"],
|
enum: ["http", "ping", "pagespeed", "hardware"],
|
||||||
},
|
},
|
||||||
url: {
|
url: {
|
||||||
type: String,
|
type: String,
|
||||||
|
|||||||
Reference in new issue
Block a user