fix: incorrect types for PersonalRooms & TailorShop #618
@ -56,7 +56,7 @@ const roomSchema = new Schema<IRoom>(
|
|||||||
{
|
{
|
||||||
Name: String,
|
Name: String,
|
||||||
MaxCapacity: Number,
|
MaxCapacity: Number,
|
||||||
PlacedDecos: [placedDecosSchema]
|
PlacedDecos: { type: [placedDecosSchema], default: undefined }
|
||||||
},
|
},
|
||||||
{ _id: false }
|
{ _id: false }
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user