Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot] 2026-05-28 21:59:11 +00:00
parent 59aafca923
commit 447f961382

View file

@ -34,11 +34,9 @@ Deno.serve(async (req) => {
} }
const userId = userData.user.id; const userId = userData.user.id;
let body: { skill_version_id?: string; test_input?: string };
let body: { skill_version_id?: string; test_input?: string; markdown_content?: string }; let body: { skill_version_id?: string; test_input?: string; markdown_content?: string };
try { try {
body = await req.json(); body = await req.json();
} catch { } catch {
return new Response(JSON.stringify({ error: "JSON inválido" }), { return new Response(JSON.stringify({ error: "JSON inválido" }), {
status: 400, status: 400,