fix: event not showing up on outlook through ics file (#24249)
This commit is contained in:
@@ -36,7 +36,6 @@ export default function generateIcsFile({
|
||||
status,
|
||||
t,
|
||||
}),
|
||||
type: "text/calendar; charset=UTF-8; method=REQUEST",
|
||||
disposition: "attachment",
|
||||
method: "REQUEST",
|
||||
};
|
||||
}
|
||||
|
||||
@@ -346,9 +346,7 @@ export async function handler(req: NextRequest) {
|
||||
{
|
||||
content: generateIcsString({ event, status: "CONFIRMED" }) || "",
|
||||
filename: "event.ics",
|
||||
type: "text/calendar; method=REQUEST",
|
||||
disposition: "attachment",
|
||||
contentId: uuidv4(),
|
||||
method: "REQUEST",
|
||||
},
|
||||
]
|
||||
: undefined,
|
||||
|
||||
@@ -257,9 +257,7 @@ export const scheduleEmailReminder = async (args: scheduleEmailReminderArgs) =>
|
||||
status,
|
||||
}) || "",
|
||||
filename: "event.ics",
|
||||
type: "text/calendar; method=REQUEST",
|
||||
disposition: "attachment",
|
||||
contentId: uuidv4(),
|
||||
method: "REQUEST",
|
||||
},
|
||||
]
|
||||
: undefined;
|
||||
|
||||
Reference in New Issue
Block a user