Skip to content

Scheduling infrastructure for absolutely everyone.

fix for email (#2220)

Syed Ali Shahbaz8671255d5ced
diff --git a/apps/web/lib/emails/templates/attendee-request-email.ts b/apps/web/lib/emails/templates/attendee-request-email.ts
index 5b8b32dce3a..921b5d34561 100644
--- a/apps/web/lib/emails/templates/attendee-request-email.ts
+++ b/apps/web/lib/emails/templates/attendee-request-email.ts
@@ -88,7 +88,7 @@ ${this.getAdditionalNotes()}
${emailScheduledBodyHeaderContent(
this.calEvent.organizer.language.translate("booking_submitted"),
this.calEvent.organizer.language.translate("user_needs_to_confirm_or_reject_booking", {
- user: this.calEvent.attendees[0].name,
+ user: this.calEvent.organizer.name,
})
)}
${emailSchedulingBodyDivider()}