This commit is contained in:
jusax23 2023-04-02 14:56:17 +02:00
parent b0867761d9
commit 9c9e930d10
Signed by: jusax23
GPG key ID: 499E2AA870C1CD41

View file

@ -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)