From cbdd1cd0a7b176d7c2313c2c9865ecf9cd7b2da2 Mon Sep 17 00:00:00 2001 From: Sainan Date: Sun, 22 Dec 2024 16:15:05 +0100 Subject: [PATCH] fix: unable to purchase arcanes --- src/services/inventoryService.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/services/inventoryService.ts b/src/services/inventoryService.ts index be09e6bde..cf43ca3d4 100644 --- a/src/services/inventoryService.ts +++ b/src/services/inventoryService.ts @@ -32,6 +32,7 @@ import { getRandomWeightedReward } from "@/src/services/rngService"; import { ISyndicateSacrifice, ISyndicateSacrificeResponse } from "../types/syndicateTypes"; import { IEquipmentClient } from "../types/inventoryTypes/commonInventoryTypes"; import { + ExportArcanes, ExportBoosterPacks, ExportCustoms, ExportFlavour, @@ -171,7 +172,7 @@ export const addItem = async ( } return { InventoryChanges }; } - if (typeName in ExportUpgrades) { + if (typeName in ExportUpgrades || typeName in ExportArcanes) { const inventory = await getInventory(accountId); const changes = [ {