From 4908b6fd0161e3b996cf218b1e1344063035e1ec Mon Sep 17 00:00:00 2001 From: Agusti Fernandez Date: Tue, 8 Mar 2022 18:08:35 +0100 Subject: [PATCH] hotfix: organizer needs to confirm booking, not attendee (#2090) Co-authored-by: Agusti Fernandez Pardo --- apps/web/lib/emails/templates/attendee-request-email.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/lib/emails/templates/attendee-request-email.ts b/apps/web/lib/emails/templates/attendee-request-email.ts index 9c279ecf..5b8b32dc 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()}