prettier
All checks were successful
Build / build (18) (push) Successful in 50s
Build / build (20) (push) Successful in 1m8s
Build / build (22) (push) Successful in 1m30s
Build / build (18) (pull_request) Successful in 50s
Build / build (20) (pull_request) Successful in 1m8s
Build / build (22) (pull_request) Successful in 46s

This commit is contained in:
Sainan 2025-03-24 22:10:42 +01:00
parent 00fdb8e5e1
commit 9ee6f1bd19
2 changed files with 8 additions and 2 deletions

View File

@ -3,7 +3,13 @@ import { RequestHandler } from "express";
import { getAccountIdForRequest } from "@/src/services/loginService";
import { ExportNightwave, ExportSyndicates, ISyndicateSacrifice } from "warframe-public-export-plus";
import { handleStoreItemAcquisition } from "@/src/services/purchaseService";
import { addItem, addMiscItems, combineInventoryChanges, getInventory, updateCurrency } from "@/src/services/inventoryService";
import {
addItem,
addMiscItems,
combineInventoryChanges,
getInventory,
updateCurrency
} from "@/src/services/inventoryService";
import { IInventoryChanges } from "@/src/types/purchaseTypes";
import { fromStoreItem, isStoreItem } from "@/src/services/itemDataService";

View File

@ -252,7 +252,7 @@ export const convertInboxMessage = (message: IInboxMessage): IMessage => {
export const isStoreItem = (type: string): boolean => {
return type.startsWith("/Lotus/StoreItems/");
}
};
export const toStoreItem = (type: string): string => {
return "/Lotus/StoreItems/" + type.substring("/Lotus/".length);