Skip to content

Commit

Permalink
fix occurences issues in booking page (calcom#19304)
Browse files Browse the repository at this point in the history
Co-authored-by: Tushar Bhatt <[email protected]>
  • Loading branch information
2 people authored and itsalam committed Mar 6, 2025
1 parent 1294067 commit 35cfa0e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/web/lib/booking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,9 @@ export async function getRecurringBookings(recurringEventId: string | null) {
const recurringBookings = await prisma.booking.findMany({
where: {
recurringEventId,
status: BookingStatus.ACCEPTED,
status: {
in: [BookingStatus.ACCEPTED, BookingStatus.PENDING],
},
},
select: {
startTime: true,
Expand Down

0 comments on commit 35cfa0e

Please sign in to comment.