Update src/controllers/custom/getItemListsController.ts
Co-authored-by: Master <master@orzsoft.com>
This commit is contained in:
parent
995ffc23cc
commit
374cc98248
@ -19,7 +19,7 @@ interface ListedItem {
|
|||||||
const getItemListsController: RequestHandler = (req, res) => {
|
const getItemListsController: RequestHandler = (req, res) => {
|
||||||
const weapons = [];
|
const weapons = [];
|
||||||
const miscitems = [];
|
const miscitems = [];
|
||||||
const dict = getDict(req.query.dict?.toString());
|
const dict = getDict(req.query.lang?.toString());
|
||||||
for (const [uniqueName, item] of Object.entries(ExportWeapons)) {
|
for (const [uniqueName, item] of Object.entries(ExportWeapons)) {
|
||||||
if (item.productCategory !== "OperatorAmps") {
|
if (item.productCategory !== "OperatorAmps") {
|
||||||
if (item.totalDamage !== 0) {
|
if (item.totalDamage !== 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user