Skip to content

Commit 7adab1f

Browse files
authored
fix: event not showing up on outlook through ics file (calcom#24249)
1 parent 3b92c86 commit 7adab1f

3 files changed

Lines changed: 3 additions & 8 deletions

File tree

packages/emails/lib/generateIcsFile.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ export default function generateIcsFile({
3636
status,
3737
t,
3838
}),
39-
type: "text/calendar; charset=UTF-8; method=REQUEST",
40-
disposition: "attachment",
39+
method: "REQUEST",
4140
};
4241
}

packages/features/ee/workflows/api/scheduleEmailReminders.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -346,9 +346,7 @@ export async function handler(req: NextRequest) {
346346
{
347347
content: generateIcsString({ event, status: "CONFIRMED" }) || "",
348348
filename: "event.ics",
349-
type: "text/calendar; method=REQUEST",
350-
disposition: "attachment",
351-
contentId: uuidv4(),
349+
method: "REQUEST",
352350
},
353351
]
354352
: undefined,

packages/features/ee/workflows/lib/reminders/emailReminderManager.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,7 @@ export const scheduleEmailReminder = async (args: scheduleEmailReminderArgs) =>
257257
status,
258258
}) || "",
259259
filename: "event.ics",
260-
type: "text/calendar; method=REQUEST",
261-
disposition: "attachment",
262-
contentId: uuidv4(),
260+
method: "REQUEST",
263261
},
264262
]
265263
: undefined;

0 commit comments

Comments
 (0)