forked from OpenWF/SpaceNinjaServer
		
	fix: default PlacedDecos in schema to [] to match the type (#1235)
Reviewed-on: OpenWF/SpaceNinjaServer#1235
This commit is contained in:
		
							parent
							
								
									6135fdcdb9
								
							
						
					
					
						commit
						352c6df339
					
				@ -57,7 +57,7 @@ const roomSchema = new Schema<IRoom>(
 | 
			
		||||
    {
 | 
			
		||||
        Name: String,
 | 
			
		||||
        MaxCapacity: Number,
 | 
			
		||||
        PlacedDecos: { type: [placedDecosSchema], default: undefined }
 | 
			
		||||
        PlacedDecos: { type: [placedDecosSchema], default: [] }
 | 
			
		||||
    },
 | 
			
		||||
    { _id: false }
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user