Fix subjects for emails for Optin Bookings (#5148)
* Fix subject for manually confirmed booking * Fix subject for request email to attendee Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
68ae3c48a0
commit
00c3e9680c
2 files changed
+3
-2
No files matched your search
@@ -18,7 +18,7 @@ export default class AttendeeRequestEmail extends AttendeeScheduledEmail {
|
||||
to: toAddresses.join(","),
|
||||
subject: `${this.calEvent.organizer.language.translate("booking_submitted_subject", {
|
||||
eventType: this.calEvent.type,
|
||||
name: this.calEvent.attendees[0].name,
|
||||
name: this.calEvent.team?.name || this.calEvent.organizer.name,
|
||||
date: this.getFormattedDate(),
|
||||
})}`,
|
||||
html: renderEmail("AttendeeRequestEmail", {
|
||||
|
||||
Reference in new issue
Block a user