fix: invalid format in inventory response for UpgradesExpiry (#1473)
Reviewed-on: OpenWF/SpaceNinjaServer#1473 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									3c79f910a2
								
							
						
					
					
						commit
						2bdb722986
					
				@ -899,6 +899,9 @@ EquipmentSchema.set("toJSON", {
 | 
			
		||||
        if (db.InfestationDate) {
 | 
			
		||||
            client.InfestationDate = toMongoDate(db.InfestationDate);
 | 
			
		||||
        }
 | 
			
		||||
        if (db.UpgradesExpiry) {
 | 
			
		||||
            client.UpgradesExpiry = toMongoDate(db.UpgradesExpiry);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user