fix: set organiser email to external id (#7406)
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>freshchat
parent
86ab19be30
commit
76cf352bce
|
@ -88,8 +88,11 @@ export default class GoogleCalendarService implements Calendar {
|
|||
{
|
||||
...calEventRaw.organizer,
|
||||
id: String(calEventRaw.organizer.id),
|
||||
organizer: true,
|
||||
responseStatus: "accepted",
|
||||
organizer: true,
|
||||
email: calEventRaw.destinationCalendar?.externalId
|
||||
? calEventRaw.destinationCalendar.externalId
|
||||
: calEventRaw.organizer.email,
|
||||
},
|
||||
// eslint-disable-next-line
|
||||
...calEventRaw.attendees.map(({ id, ...rest }) => ({
|
||||
|
|
Loading…
Reference in New Issue