Corrigiu user_id no webhook

X-Lovable-Edit-ID: edt-b3346fc8-9e79-48e1-82d0-cc508e119088
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot] 2026-04-26 21:16:50 +00:00
commit 9cc40fc041

View file

@ -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(() => ({}));