fix(Feedback): do not stringify body
h
This commit is contained in:
parent
9429be0fab
commit
eb40a4f049
@ -45,7 +45,7 @@ async function handleSubmit(type?: string) {
|
||||
try {
|
||||
const response = await fetch("https://fmhy.vercel.app/api/feedback", {
|
||||
method: "POST",
|
||||
body: JSON.stringify(body),
|
||||
body: JSON.parse(body),
|
||||
});
|
||||
|
||||
const data = await response.json();
|
||||
|
Loading…
Reference in New Issue
Block a user