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 {
|
try {
|
||||||
const response = await fetch("https://fmhy.vercel.app/api/feedback", {
|
const response = await fetch("https://fmhy.vercel.app/api/feedback", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: JSON.stringify(body),
|
body: JSON.parse(body),
|
||||||
});
|
});
|
||||||
|
|
||||||
const data = await response.json();
|
const data = await response.json();
|
||||||
|
Loading…
Reference in New Issue
Block a user