fix listBookings handler
parent
c4bfe98798
commit
e0a8cf9af2
|
@ -134,9 +134,7 @@ export async function listBookings(appApiKey: ApiKey) {
|
|||
}
|
||||
const bookings = await prisma.booking.findMany({
|
||||
take: 3,
|
||||
where: {
|
||||
userId: appApiKey.userId,
|
||||
},
|
||||
where: where,
|
||||
orderBy: {
|
||||
id: "desc",
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue