chore: some initial handling of legacy oid format #2033

Merged
Sainan merged 6 commits from legacy-oid into main 2025-05-09 00:20:55 -07:00
Showing only changes of commit ccc9d5c9dc - Show all commits

View File

@ -318,7 +318,7 @@ export const getInventoryResponse = async (
const personalRooms = personalRoomsDb.toJSON<IPersonalRoomsClient>();
inventoryResponse.Ship = personalRooms.Ship;
if (version_compare(buildLabel, "2017.03.06.15.49") < 0) {
if (version_compare(buildLabel, "2017.03.03.17.01") < 0) {
// U19.4 and below use $id instead of $oid
for (const category of equipmentKeys) {
for (const item of inventoryResponse[category]) {