Skip to content

Commit

Permalink
fix: unable to purchase arcanes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sainan committed Dec 22, 2024
1 parent 987b05a commit cbdd1cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/services/inventoryService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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 = [
{
Expand Down

0 comments on commit cbdd1cd

Please sign in to comment.