From bb9cbd6582911bc9ad220f79afc2412c936fb649 Mon Sep 17 00:00:00 2001 From: Leo Giovanetti Date: Thu, 24 Nov 2022 15:11:13 -0300 Subject: [PATCH] Fixing Zoom timezone issue (#5670) * Fixing Zoom timezone issue * Update packages/app-store/zoomvideo/lib/VideoApiAdapter.ts Co-authored-by: alannnc --- packages/app-store/zoomvideo/lib/VideoApiAdapter.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/app-store/zoomvideo/lib/VideoApiAdapter.ts b/packages/app-store/zoomvideo/lib/VideoApiAdapter.ts index efdde63038..6d01a93430 100644 --- a/packages/app-store/zoomvideo/lib/VideoApiAdapter.ts +++ b/packages/app-store/zoomvideo/lib/VideoApiAdapter.ts @@ -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: {