fix: ensure helminth shard operations don't produce a null shard #2176
@ -251,12 +251,6 @@ const ArchonCrystalUpgradeSchema = new Schema<IArchonCrystalUpgrade>(
 | 
				
			|||||||
    { _id: false }
 | 
					    { _id: false }
 | 
				
			||||||
);
 | 
					);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ArchonCrystalUpgradeSchema.set("toJSON", {
 | 
					 | 
				
			||||||
    transform(_document, returnedObject) {
 | 
					 | 
				
			||||||
        delete returnedObject.__v;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
});
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
const boosterSchema = new Schema<IBooster>(
 | 
					const boosterSchema = new Schema<IBooster>(
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        ExpiryDate: Number,
 | 
					        ExpiryDate: Number,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user