fix: contentType is added in worng format (#24284)

This commit is contained in:
Anik Dhabal Babu authored and GitHub committed 2025-10-06 06:29:54 +00:00
1 parent a4be822636
commit f3269a3ddf
2 files changed
+4 -2

No files matched your search

@@ -346,7 +346,8 @@ export async function handler(req: NextRequest) {
{
content: generateIcsString({ event, status: "CONFIRMED" }) || "",
filename: "event.ics",
method: "REQUEST",
contentType: "text/calendar; charset=UTF-8; method=REQUEST",
disposition: "attachment",
},
]
: undefined,
@@ -257,7 +257,8 @@ export const scheduleEmailReminder = async (args: scheduleEmailReminderArgs) =>
status,
}) || "",
filename: "event.ics",
method: "REQUEST",
contentType: "text/calendar; charset=UTF-8; method=REQUEST",
disposition: "attachment",
},
]
: undefined;