chore: remove unused MoaPets array from getItemLists

This commit is contained in:
Sainan 2025-04-24 02:00:27 +02:00
parent 99e1a66da8
commit efc7467a99

View File

@ -51,7 +51,6 @@ interface ItemLists {
OperatorAmps: ListedItem[]; OperatorAmps: ListedItem[];
QuestKeys: ListedItem[]; QuestKeys: ListedItem[];
KubrowPets: ListedItem[]; KubrowPets: ListedItem[];
MoaPets: ListedItem[];
mods: ListedItem[]; mods: ListedItem[];
} }
@ -83,7 +82,6 @@ const getItemListsController: RequestHandler = (req, response) => {
OperatorAmps: [], OperatorAmps: [],
QuestKeys: [], QuestKeys: [],
KubrowPets: [], KubrowPets: [],
MoaPets: [],
mods: [] mods: []
}; };
for (const [uniqueName, item] of Object.entries(ExportWarframes)) { for (const [uniqueName, item] of Object.entries(ExportWarframes)) {
@ -94,7 +92,7 @@ const getItemListsController: RequestHandler = (req, response) => {
}); });
} }
for (const [uniqueName, item] of Object.entries(ExportSentinels)) { for (const [uniqueName, item] of Object.entries(ExportSentinels)) {
if (item.productCategory != "SpecialItems") { if (item.productCategory == "Sentinels" || item.productCategory == "KubrowPets") {
res[item.productCategory].push({ res[item.productCategory].push({
uniqueName, uniqueName,
name: getString(item.name, lang), name: getString(item.name, lang),