chore: some initial handling of legacy oid format #2033
@ -318,8 +318,8 @@ export const getInventoryResponse = async (
|
||||
const personalRooms = personalRoomsDb.toJSON<IPersonalRoomsClient>();
|
||||
inventoryResponse.Ship = personalRooms.Ship;
|
||||
|
||||
if (version_compare(buildLabel, "2017.03.03.17.01") < 0) {
|
||||
// U19.4 and below use $id instead of $oid
|
||||
if (version_compare(buildLabel, "2016.12.21.19.13") <= 0) {
|
||||
// U19.5 and below use $id instead of $oid
|
||||
for (const category of equipmentKeys) {
|
||||
for (const item of inventoryResponse[category]) {
|
||||
toLegacyOid(item.ItemId);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user