fix order of past bookings (#2425)

This commit is contained in:
Agusti Fernandez authored and GitHub committed 2022-04-08 12:50:00 +01:00
1 parent c63d81719b
commit 385421d250
1 file changed
+1 -1
+1 -1
View File
@@ -344,7 +344,7 @@ const loggedInViewerRouter = createProtectedRouter()
Prisma.BookingOrderByWithAggregationInput
> = {
upcoming: { startTime: "asc" },
past: { startTime: "desc" },
past: { startTime: "asc" },
cancelled: { startTime: "asc" },
};
const passedBookingsFilter = bookingListingFilters[bookingListingByStatus];