From eb40a4f04977644ac50fb76a94915eceb93b391c Mon Sep 17 00:00:00 2001 From: taskylizard <75871323+taskylizard@users.noreply.github.com> Date: Fri, 3 Nov 2023 11:40:10 +0530 Subject: [PATCH] fix(Feedback): do not stringify body h --- .vitepress/theme/components/Feedback.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();