fix: invalid format in inventory response for UpgradesExpiry #1473
@ -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