fix: invalid format in inventory response for UpgradesExpiry
All checks were successful
Build / build (20) (push) Successful in 39s
Build / build (22) (push) Successful in 1m15s
Build / build (18) (push) Successful in 1m16s
Build / build (18) (pull_request) Successful in 39s
Build / build (20) (pull_request) Successful in 1m15s
Build / build (22) (pull_request) Successful in 1m13s
All checks were successful
Build / build (20) (push) Successful in 39s
Build / build (22) (push) Successful in 1m15s
Build / build (18) (push) Successful in 1m16s
Build / build (18) (pull_request) Successful in 39s
Build / build (20) (pull_request) Successful in 1m15s
Build / build (22) (pull_request) Successful in 1m13s
This commit is contained in:
parent
65306e0478
commit
c16bbb4486
@ -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