fix: Include ordered attendees in booking select query (#20935)
* fix: correct ordering * another
This commit is contained in:
@@ -42,6 +42,9 @@ const getUserBooking = async (uid: string) => {
|
||||
timeZone: true,
|
||||
phoneNumber: true,
|
||||
},
|
||||
orderBy: {
|
||||
id: "asc",
|
||||
},
|
||||
},
|
||||
eventTypeId: true,
|
||||
eventType: {
|
||||
|
||||
@@ -8,6 +8,10 @@ export const bookingMinimalSelect = Prisma.validator<Prisma.BookingSelect>()({
|
||||
customInputs: true,
|
||||
startTime: true,
|
||||
endTime: true,
|
||||
attendees: true,
|
||||
attendees: {
|
||||
orderBy: {
|
||||
id: "asc",
|
||||
},
|
||||
},
|
||||
metadata: true,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user