Cancelling recurring vs single event (#3448)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
805419d58b
commit
63660a37f9
7 files changed
+73
-45
No files matched your search
@@ -428,11 +428,6 @@ const loggedInViewerRouter = createProtectedRouter()
|
||||
skip,
|
||||
});
|
||||
|
||||
const groupedRecurringBookings = await prisma.booking.groupBy({
|
||||
by: [Prisma.BookingScalarFieldEnum.recurringEventId],
|
||||
_count: true,
|
||||
});
|
||||
|
||||
let bookings = bookingsQuery.map((booking) => {
|
||||
return {
|
||||
...booking,
|
||||
@@ -473,7 +468,6 @@ const loggedInViewerRouter = createProtectedRouter()
|
||||
|
||||
return {
|
||||
bookings,
|
||||
groupedRecurringBookings,
|
||||
nextCursor,
|
||||
};
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user