fix pipe
This commit is contained in:
@@ -64,6 +64,7 @@ app.post("/api/check", async (req, res) => {
|
||||
return res.status(502).json({ error: "AI service error" });
|
||||
}
|
||||
|
||||
//const data = await response.json();
|
||||
const data = await response.json();
|
||||
const feedback = data.content?.[0]?.text || "";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user