changed field from availability to isAvailable
This commit is contained in:
@@ -98,7 +98,7 @@ router.get("/recommendations", authenticateToken, async (req, res) => {
|
||||
// For now, just return random available items as recommendations
|
||||
const recommendations = await Item.findAll({
|
||||
where: {
|
||||
availability: true,
|
||||
isAvailable: true,
|
||||
isDeleted: false,
|
||||
},
|
||||
limit: 10,
|
||||
|
||||
Reference in New Issue
Block a user