diff --git a/packages/app-store/_utils/nodeScheduler.ts b/packages/app-store/_utils/nodeScheduler.ts index 897885c6f4..9f03228401 100644 --- a/packages/app-store/_utils/nodeScheduler.ts +++ b/packages/app-store/_utils/nodeScheduler.ts @@ -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", },