diff --git a/.vitepress/theme/components/Feedback.vue b/.vitepress/theme/components/Feedback.vue index d053f45c2..19226a8d7 100644 --- a/.vitepress/theme/components/Feedback.vue +++ b/.vitepress/theme/components/Feedback.vue @@ -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();