diff --git a/src/api/acts/roomContent.ts b/src/api/acts/roomContent.ts index 14d0c59..882b1e5 100644 --- a/src/api/acts/roomContent.ts +++ b/src/api/acts/roomContent.ts @@ -501,7 +501,7 @@ export const getItems: Act = { listItems.unit, listItems.value, listItems.link, - ], listProducts) + ], listItems) .where(eq(listItems.roomID, roomID)) .query(db); let out = req.map(d => { @@ -557,7 +557,7 @@ export const getItem: Act = { listItems.unit, listItems.value, listItems.link, - ], listProducts) + ], listItems) .where(and( eq(listItems.listItemID, data.listItemID), eq(listItems.roomID, data.roomID)