fix occurences issues in booking page (#19304)

Co-authored-by: Tushar Bhatt <[email protected]>
This commit is contained in:
Pavan NaikandTushar Bhatt authored and GitHub committed 2025-02-21 07:55:32 +00:00
1 parent fbcfc35621
commit 4a6704c934
1 file changed
+3 -1
+3 -1
View File
@@ -198,7 +198,9 @@ export async function getRecurringBookings(recurringEventId: string | null) {
const recurringBookings = await prisma.booking.findMany({ const recurringBookings = await prisma.booking.findMany({
where: { where: {
recurringEventId, recurringEventId,
status: BookingStatus.ACCEPTED, status: {
in: [BookingStatus.ACCEPTED, BookingStatus.PENDING],
},
}, },
select: { select: {
startTime: true, startTime: true,