feat(webui): boosters #2140

Merged
Sainan merged 9 commits from nyaoouo/SpaceNinjaServer:Web-UI-Add-Boosters into main 2025-06-12 04:54:17 -07:00
Showing only changes of commit 6296f80987 - Show all commits

View File

@ -8,7 +8,7 @@ const I32_MAX = 0x7fffffff;
export const setBoosterController: RequestHandler = async (req, res) => {
const accountId = await getAccountIdForRequest(req);
const requests = req.body as { ItemType: string; ExpiryDate: number }[];
const inventory = await getInventory(accountId);
const inventory = await getInventory(accountId, "Boosters");
const boosters = inventory.Boosters;
if (
requests.some(request => {