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