feat(webui): boosters #2140
@ -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 => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user