This commit is contained in:
2026-02-28 20:06:58 +01:00
parent 24db0a1251
commit 6a144a9b52

View File

@@ -64,6 +64,7 @@ app.post("/api/check", async (req, res) => {
return res.status(502).json({ error: "AI service error" }); return res.status(502).json({ error: "AI service error" });
} }
//const data = await response.json();
const data = await response.json(); const data = await response.json();
const feedback = data.content?.[0]?.text || ""; const feedback = data.content?.[0]?.text || "";