Clean up unused organizer parameters
parent
1c79b5532f
commit
a4d48f81e0
|
@ -93,20 +93,13 @@ export default class OrganizerScheduledEmail extends BaseEmail {
|
|||
};
|
||||
}
|
||||
|
||||
protected getTextBody(
|
||||
title = "",
|
||||
subtitle = "emailed_you_and_any_other_attendees",
|
||||
extraInfo = "",
|
||||
callToAction = ""
|
||||
): string {
|
||||
protected getTextBody(title = "", subtitle = "emailed_you_and_any_other_attendees"): string {
|
||||
return `
|
||||
${this.t(
|
||||
title || this.calEvent.recurringEvent?.count ? "new_event_scheduled_recurring" : "new_event_scheduled"
|
||||
)}
|
||||
${this.t(subtitle)}
|
||||
${extraInfo}
|
||||
${getRichDescription(this.calEvent, this.t, true)}
|
||||
${callToAction}
|
||||
`.trim();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue