返回提交历史
Modified
src/services/inventoryService.ts
+2
-1
XFEstudio/XFESpaceNinjaServer
fix: unable to purchase arcanes
cbdd1cd0
代码差异
1 个文件
+2
-1
@@ -32,6 +32,7 @@ import { getRandomWeightedReward } from "@/src/services/rngService";
32
32
import { ISyndicateSacrifice, ISyndicateSacrificeResponse } from "../types/syndicateTypes";
33
33
import { IEquipmentClient } from "../types/inventoryTypes/commonInventoryTypes";
34
34
import {
35
ExportArcanes,
35
36
ExportBoosterPacks,
36
37
ExportCustoms,
37
38
ExportFlavour,
@@ -171,7 +172,7 @@ export const addItem = async (
171
172
}
172
173
return { InventoryChanges };
173
174
}
174
if (typeName in ExportUpgrades) {
175
if (typeName in ExportUpgrades || typeName in ExportArcanes) {
175
176
const inventory = await getInventory(accountId);
176
177
const changes = [
177
178
{