From 9c9e930d108669a4643261be5756feba9558402b Mon Sep 17 00:00:00 2001 From: jusax23 Date: Sun, 2 Apr 2023 14:56:17 +0200 Subject: [PATCH] bug fix --- src/api/acts/roomContent.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)