fix: add no show guest (#18075)

* fix: add booker no show

* chore: update name
This commit is contained in:
Udit Takkar authored and GitHub committed 2024-12-13 16:00:17 +00:00
1 parent 645985c783
commit b5ab6fe3fa
1 file changed
+3
@@ -422,10 +422,12 @@ class EventsInsights {
select: {
name: true,
email: true,
noShow: true,
},
},
},
});
const bookingMap = new Map(bookings.map((booking) => [booking.uid, booking.attendees[0] || null]));
return csvData.map((bookingTimeStatus) => {
@@ -442,6 +444,7 @@ class EventsInsights {
return {
...bookingTimeStatus,
noShowGuest: booker.noShow,
bookerEmail: booker.email,
bookerName: booker.name,
};