Update src/controllers/custom/getItemListsController.ts

Co-authored-by: Master <master@orzsoft.com>
This commit is contained in:
AMelonInsideLemon 2024-06-26 09:19:44 +02:00 committed by AMelonInsideLemon
parent 995ffc23cc
commit 374cc98248

View File

@ -19,7 +19,7 @@ interface ListedItem {
const getItemListsController: RequestHandler = (req, res) => {
const weapons = [];
const miscitems = [];
const dict = getDict(req.query.dict?.toString());
const dict = getDict(req.query.lang?.toString());
for (const [uniqueName, item] of Object.entries(ExportWeapons)) {
if (item.productCategory !== "OperatorAmps") {
if (item.totalDamage !== 0) {