add resp layout

This commit is contained in:
madarsbiss
2021-07-21 13:12:39 +03:00
parent b7e0e0a24c
commit 04583743dd
3 changed files with 15 additions and 8 deletions

View File

@@ -11,7 +11,7 @@ export default function Home() {
const res = await fetch("/api/data", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ input, systemUsed }),
body: JSON.stringify({ input }),
});
const data = await res.json();