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

View file

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