adding organizer as attendee to google calendar events (#2779)
parent
1de50bd093
commit
1c296fb2d5
|
@ -102,10 +102,10 @@ export default class GoogleCalendarService implements Calendar {
|
|||
dateTime: calEventRaw.endTime,
|
||||
timeZone: calEventRaw.organizer.timeZone,
|
||||
},
|
||||
attendees: calEventRaw.attendees.map((attendee) => ({
|
||||
attendees: [{...calEventRaw.organizer, organizer: true }, ... calEventRaw.attendees.map((attendee) => ({
|
||||
...attendee,
|
||||
responseStatus: "accepted",
|
||||
})),
|
||||
}))],
|
||||
reminders: {
|
||||
useDefault: true,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue