use inventory projection in updateGeneric
All checks were successful
Build / build (18) (push) Successful in 45s
Build / build (22) (push) Successful in 1m8s
Build / build (20) (push) Successful in 1m9s
Build / build (20) (pull_request) Successful in 1m7s
Build / build (22) (pull_request) Successful in 1m13s
Build / build (18) (pull_request) Successful in 43s

This commit is contained in:
Sainan 2025-03-23 02:03:51 +01:00
parent 9b110d528a
commit dbd1875c09

View File

@ -910,7 +910,7 @@ export const updateStandingLimit = (
// TODO: AffiliationMods support (Nightwave). // TODO: AffiliationMods support (Nightwave).
export const updateGeneric = async (data: IGenericUpdate, accountId: string): Promise<IUpdateNodeIntrosResponse> => { export const updateGeneric = async (data: IGenericUpdate, accountId: string): Promise<IUpdateNodeIntrosResponse> => {
const inventory = await getInventory(accountId); const inventory = await getInventory(accountId, "NodeIntrosCompleted MiscItems");
// Make it an array for easier parsing. // Make it an array for easier parsing.
if (typeof data.NodeIntrosCompleted === "string") { if (typeof data.NodeIntrosCompleted === "string") {