fix occurences issues in booking page (#19304)
Co-authored-by: Tushar Bhatt <[email protected]>
This commit is contained in:
1 parent
fbcfc35621
commit
4a6704c934
1 file changed
+3
-1
@@ -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,
|
||||||
|
|||||||
Reference in new issue
Block a user