mirror of
https://github.com/domfelipe/mika-agent-assist.git
synced 2026-08-07 07:36:41 +00:00
Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
This commit is contained in:
parent
53ff827d3d
commit
59aafca923
1 changed files with 1 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue