fix: contentType is added in worng format (#24284)
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user