From e80f97e0679b143b14a1b5f1f41b66f3a4ae26bb Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Fri, 23 May 2025 12:02:54 +0200 Subject: [PATCH] fix typo --- src/controllers/api/syndicateSacrificeController.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/api/syndicateSacrificeController.ts b/src/controllers/api/syndicateSacrificeController.ts index 97b198cd..8b1a9c7a 100644 --- a/src/controllers/api/syndicateSacrificeController.ts +++ b/src/controllers/api/syndicateSacrificeController.ts @@ -5,7 +5,7 @@ import { ExportSyndicates, ISyndicateSacrifice } from "warframe-public-export-pl import { handleStoreItemAcquisition } from "@/src/services/purchaseService"; import { addMiscItems, combineInventoryChanges, getInventory, updateCurrency } from "@/src/services/inventoryService"; import { IInventoryChanges } from "@/src/types/purchaseTypes"; -import { fromStoreItem } from "@/src/services/itemDataService"; +import { toStoreItem } from "@/src/services/itemDataService"; import { logger } from "@/src/utils/logger"; export const syndicateSacrificeController: RequestHandler = async (request, response) => { @@ -70,7 +70,7 @@ export const syndicateSacrificeController: RequestHandler = async (request, resp rewardType = title.storeItemReward; rewardCount = 1; } else { - rewardType = fromStoreItem(title.reward!.ItemType); + rewardType = toStoreItem(title.reward!.ItemType); rewardCount = title.reward!.ItemCount; } const rewardInventoryChanges = (await handleStoreItemAcquisition(rewardType, inventory, rewardCount))