Clean up unused pendingRequests variable
This commit is contained in:
@@ -85,8 +85,8 @@ serve(async (req: Request): Promise<Response> => {
|
|||||||
const supabaseServiceKey = Deno.env.get("SUPABASE_SERVICE_ROLE_KEY")!;
|
const supabaseServiceKey = Deno.env.get("SUPABASE_SERVICE_ROLE_KEY")!;
|
||||||
const supabase = createClient(supabaseUrl, supabaseServiceKey);
|
const supabase = createClient(supabaseUrl, supabaseServiceKey);
|
||||||
|
|
||||||
// Clone the request before reading body to handle multiple reads
|
// Read body once
|
||||||
const body: CreateMeetRequest = await req.clone().json();
|
const body: CreateMeetRequest = await req.json();
|
||||||
console.log("Creating Google Meet event for slot:", body.slot_id);
|
console.log("Creating Google Meet event for slot:", body.slot_id);
|
||||||
|
|
||||||
// Get platform settings
|
// Get platform settings
|
||||||
|
|||||||
Reference in New Issue
Block a user