From f82ffaa68e7f0b2e24a240871be7c0e59bbe1803 Mon Sep 17 00:00:00 2001 From: taskylizard <75871323+taskylizard@users.noreply.github.com> Date: Sat, 4 Nov 2023 22:31:29 +0530 Subject: [PATCH] remove console.log --- .vitepress/routes/index.post.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vitepress/routes/index.post.ts b/.vitepress/routes/index.post.ts index 3a2eebb72..8dd050577 100644 --- a/.vitepress/routes/index.post.ts +++ b/.vitepress/routes/index.post.ts @@ -30,7 +30,7 @@ export default defineEventHandler(async (event) => { if (!["bug", "suggestion", "other", "appreciate"].includes(feedbackType!) || !message) { throw new Error("Invalid input."); } - console.log(env.WEBHOOK_URL, process.env.WEBHOOK_URL); + await fetcher() .post(env.WEBHOOK_URL, { username: "Feedback",