fix: workflow attach ics file is in base64 format (#23680)

This commit is contained in:
Anik Dhabal Babu authored and GitHub committed 2025-09-09 03:11:34 +00:00
1 parent 300cd31efb
commit ce4d71ba2e
2 files changed
+3 -6

No files matched your search

@@ -343,9 +343,7 @@ export async function handler(req: NextRequest) {
attachments: reminder.workflowStep.includeCalendarEvent
? [
{
content: Buffer.from(generateIcsString({ event, status: "CONFIRMED" }) || "").toString(
"base64"
),
content: generateIcsString({ event, status: "CONFIRMED" }) || "",
filename: "event.ics",
type: "text/calendar; method=REQUEST",
disposition: "attachment",