返回提交历史
Modified
src/models/inventoryModels/inventoryModel.ts
+3
-0
XFEstudio/XFESpaceNinjaServer
fix: invalid format in inventory response for UpgradesExpiry (#1473)
Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1473 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2bdb7229
代码差异
1 个文件
+3
-0
@@ -899,6 +899,9 @@ EquipmentSchema.set("toJSON", {
899
899
if (db.InfestationDate) {
900
900
client.InfestationDate = toMongoDate(db.InfestationDate);
901
901
}
902
if (db.UpgradesExpiry) {
903
client.UpgradesExpiry = toMongoDate(db.UpgradesExpiry);
904
}
902
905
}
903
906
});
904
907