fix: incorrect types for PersonalRooms & TailorShop #618

Merged
Sainan merged 3 commits from tailor-type into main 2024-12-22 21:21:48 -08:00
Showing only changes of commit 07b0d37440 - Show all commits

View File

@ -56,7 +56,7 @@ const roomSchema = new Schema<IRoom>(
{
Name: String,
MaxCapacity: Number,
PlacedDecos: [placedDecosSchema]
PlacedDecos: { type: [placedDecosSchema], default: undefined }
},
{ _id: false }
);