fix: added order by (#20959)

This commit is contained in:
Anik Dhabal Babu authored and GitHub committed 2025-04-24 19:21:21 +00:00
1 parent 2923684c7c
commit ce2d3a4b00
2 files changed
+4 -5

No files matched your search

@@ -73,6 +73,9 @@ async function getBooking(prisma: PrismaClient, uid: string, isSeatedEvent?: boo
name: true,
bookingSeat: true,
},
orderBy: {
id: "asc",
},
},
user: {
select: {
+1 -5
View File
@@ -8,10 +8,6 @@ export const bookingMinimalSelect = Prisma.validator<Prisma.BookingSelect>()({
customInputs: true,
startTime: true,
endTime: true,
attendees: {
orderBy: {
id: "asc",
},
},
attendees: true,
metadata: true,
});