fix: added order by (#20959)

This commit is contained in:
Anik Dhabal Babu
2025-04-24 19:21:21 +00:00
committed by GitHub
parent 2923684c7c
commit ce2d3a4b00
2 changed files with 4 additions and 5 deletions
@@ -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,
});