forked from OpenWF/SpaceNinjaServer
fix: unable to purchase arcanes
This commit is contained in:
parent
987b05a334
commit
cbdd1cd0a7
@ -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 = [
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user