Skip to content

Commit b5ab6fe

Browse files
authored
fix: add no show guest (#18075)
* fix: add booker no show * chore: update name
1 parent 645985c commit b5ab6fe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/features/insights/server/events.ts

+3
Original file line numberDiff line numberDiff line change
@@ -422,10 +422,12 @@ class EventsInsights {
422422
select: {
423423
name: true,
424424
email: true,
425+
noShow: true,
425426
},
426427
},
427428
},
428429
});
430+
429431
const bookingMap = new Map(bookings.map((booking) => [booking.uid, booking.attendees[0] || null]));
430432

431433
return csvData.map((bookingTimeStatus) => {
@@ -442,6 +444,7 @@ class EventsInsights {
442444

443445
return {
444446
...bookingTimeStatus,
447+
noShowGuest: booker.noShow,
445448
bookerEmail: booker.email,
446449
bookerName: booker.name,
447450
};

0 commit comments

Comments
 (0)