fix: set organiser email to external id (#7406)
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
This commit is contained in:
@@ -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 }) => ({
|
||||
|
||||
Reference in New Issue
Block a user