Clean up unused organizer parameters

refactor/generate-ics-event
Joe Au-Yeung 2023-10-30 13:30:55 -04:00
parent 1c79b5532f
commit a4d48f81e0
1 changed files with 1 additions and 8 deletions

View File

@ -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();
}