Fixing Zoom timezone issue (#5670)
* Fixing Zoom timezone issue * Update packages/app-store/zoomvideo/lib/VideoApiAdapter.ts Co-authored-by: alannnc <alannnc@gmail.com>pull/5654/head^2
parent
81721e7bb9
commit
bb9cbd6582
|
@ -196,7 +196,6 @@ const ZoomVideoApiAdapter = (credential: CredentialPayload): VideoApiAdapter =>
|
|||
};
|
||||
|
||||
const recurrence = getRecurrence(event);
|
||||
|
||||
// Documentation at: https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate
|
||||
return {
|
||||
topic: event.title,
|
||||
|
@ -204,7 +203,7 @@ const ZoomVideoApiAdapter = (credential: CredentialPayload): VideoApiAdapter =>
|
|||
start_time: event.startTime,
|
||||
duration: (new Date(event.endTime).getTime() - new Date(event.startTime).getTime()) / 60000,
|
||||
//schedule_for: "string", TODO: Used when scheduling the meeting for someone else (needed?)
|
||||
timezone: event.attendees[0].timeZone,
|
||||
timezone: event.organizer.timeZone,
|
||||
//password: "string", TODO: Should we use a password? Maybe generate a random one?
|
||||
agenda: event.description,
|
||||
settings: {
|
||||
|
|
Loading…
Reference in New Issue