Merge branch 'main' into bugfix/unify-email-sending
This commit is contained in:
commit
b4ed8ae87e
51 files changed
+2713
-1423
No files matched your search
+1
-23
@@ -157,29 +157,7 @@ const MicrosoftOffice365Calendar = (credential): CalendarApiAdapter => {
|
||||
optional.location = { displayName: event.location };
|
||||
}
|
||||
|
||||
return {
|
||||
subject: event.title,
|
||||
body: {
|
||||
contentType: "HTML",
|
||||
content: event.description,
|
||||
},
|
||||
start: {
|
||||
dateTime: event.startTime,
|
||||
timeZone: event.organizer.timeZone,
|
||||
},
|
||||
end: {
|
||||
dateTime: event.endTime,
|
||||
timeZone: event.organizer.timeZone,
|
||||
},
|
||||
attendees: event.attendees.map((attendee) => ({
|
||||
emailAddress: {
|
||||
address: attendee.email,
|
||||
name: attendee.name,
|
||||
},
|
||||
type: "required",
|
||||
})),
|
||||
...optional,
|
||||
};
|
||||
return toRet;
|
||||
};
|
||||
|
||||
const integrationType = "office365_calendar";
|
||||
|
||||
Reference in new issue
Block a user