Skip to content

Scheduling infrastructure for absolutely everyone.

hotfix: organizer needs to confirm booking, not attendee (#2090)

Agusti Fernandez4908b6fd0161
diff --git a/apps/web/lib/emails/templates/attendee-request-email.ts b/apps/web/lib/emails/templates/attendee-request-email.ts
index 9c279ecf994..5b8b32dce3a 100644
--- a/apps/web/lib/emails/templates/attendee-request-email.ts
+++ b/apps/web/lib/emails/templates/attendee-request-email.ts
@@ -55,7 +55,7 @@ ${this.calEvent.attendees[0].language.translate("booking_submitted", {
name: this.calEvent.attendees[0].name,
})}
${this.calEvent.attendees[0].language.translate("user_needs_to_confirm_or_reject_booking", {
- user: this.calEvent.attendees[0].name,
+ user: this.calEvent.organizer.name,
})}
${this.getWhat()}
${this.getWhen()}