diff --git a/supabase/functions/create-google-meet-event/index.ts b/supabase/functions/create-google-meet-event/index.ts index 4c77391..e9e0b4b 100644 --- a/supabase/functions/create-google-meet-event/index.ts +++ b/supabase/functions/create-google-meet-event/index.ts @@ -205,19 +205,14 @@ serve(async (req: Request): Promise => { dateTime: endDate.toISOString(), timeZone: "Asia/Jakarta", }, - attendees: [ - { email: body.client_email }, - ], + // Note: attendees removed because service accounts need Domain-Wide Delegation + // Client email is included in description instead conferenceData: { createRequest: { requestId: body.slot_id, conferenceSolutionKey: { type: "hangoutsMeet" }, }, }, - sendUpdates: "all", - guestsCanInviteOthers: false, - guestsCanModify: false, - guestsCanSeeOtherGuests: false, }; console.log("Creating event in calendar:", calendarId);