fix: roomSchema not matching IRoom
This commit is contained in:
parent
774d5a49c4
commit
07b0d37440
@ -56,7 +56,7 @@ const roomSchema = new Schema<IRoom>(
|
||||
{
|
||||
Name: String,
|
||||
MaxCapacity: Number,
|
||||
PlacedDecos: [placedDecosSchema]
|
||||
PlacedDecos: { type: [placedDecosSchema], default: undefined }
|
||||
},
|
||||
{ _id: false }
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user