diff --git a/supabase/functions/managed-bot-webhook/index.ts b/supabase/functions/managed-bot-webhook/index.ts index 195727f..e08d082 100644 --- a/supabase/functions/managed-bot-webhook/index.ts +++ b/supabase/functions/managed-bot-webhook/index.ts @@ -86,7 +86,7 @@ Deno.serve(async (req) => { { method: "POST", headers: { "Content-Type": "application/json" }, - body: JSON.stringify({ bot_id: botId }), + body: JSON.stringify({ user_id: botId }), }, ); const tokenJson = await tokenRes.json().catch(() => ({}));