don't count unconfirmed recurring bookings that are in the past (#4968)
This commit is contained in:
parent
a9b18496e0
commit
b1656c7900
|
@ -1458,6 +1458,7 @@ const loggedInViewerRouter = createProtectedRouter()
|
|||
recurringEventId: { not: { equals: null } },
|
||||
status: { equals: "PENDING" },
|
||||
userId: user.id,
|
||||
endTime: { gt: new Date() },
|
||||
},
|
||||
});
|
||||
return recurringGrouping.reduce((prev, current) => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user