From ccc9d5c9dc7d7b1a6ee1ae8b18ce144f1fc527ff Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Fri, 9 May 2025 07:47:14 +0200 Subject: [PATCH] U19.12 also uses $oid --- src/controllers/api/inventoryController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/api/inventoryController.ts b/src/controllers/api/inventoryController.ts index 6d2db473..bafc0a75 100644 --- a/src/controllers/api/inventoryController.ts +++ b/src/controllers/api/inventoryController.ts @@ -318,7 +318,7 @@ export const getInventoryResponse = async ( const personalRooms = personalRoomsDb.toJSON(); 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]) {