Revise disk field from diskSchema to [diskSchema]
This commit is contained in:
1 parent
ddb058b58c
commit
433dbf1907
1 file changed
+2
-2
@@ -46,8 +46,8 @@ const HardwareCheckSchema = mongoose.Schema(
|
||||
default: () => ({}),
|
||||
},
|
||||
disk: {
|
||||
type: discSchema,
|
||||
default: () => ({}),
|
||||
type: [discSchema],
|
||||
default: () => [],
|
||||
},
|
||||
host: {
|
||||
type: hostSchema,
|
||||
|
||||
Reference in new issue
Block a user