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
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:
parent
00fdb8e5e1
commit
9ee6f1bd19
@ -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";
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user