bug fix
This commit is contained in:
parent
b0867761d9
commit
9c9e930d10
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue