feat: nightwave rank up rewards #1320

Merged
Sainan merged 2 commits from nightwave-rankup into main 2025-03-25 06:38:45 -07:00
2 changed files with 8 additions and 2 deletions
Showing only changes of commit 9ee6f1bd19 - Show all commits

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);