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,
 | 
					        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