From 1e099f6bb6bb97282c51f4ada12cccb6f3eb1234 Mon Sep 17 00:00:00 2001 From: MasterAcnolo Date: Tue, 29 Sep 2026 17:27:16 +0200 Subject: [PATCH] fix(sendReport): remove API key requirement for bug report service configuration --- app/sendReport.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/app/sendReport.js b/app/sendReport.js index 8ddb95a..8ee05b5 100644 --- a/app/sendReport.js +++ b/app/sendReport.js @@ -36,17 +36,13 @@ async function sendReport(params) { } const reportUrl = process.env.BUG_REPORT_URL; - const reportApiKey = process.env.BUG_REPORT_API_KEY; - if (!reportUrl || !reportApiKey) { - throw new Error("Bug report service is not configured. Missing BUG_REPORT_URL or BUG_REPORT_API_KEY on backend."); + if (!reportUrl) { + throw new Error("Bug report service is not configured. Missing BUG_REPORT_URL on backend."); } const response = await fetch(reportUrl, { method: "POST", - headers: { - "X-Api-Key": reportApiKey - }, body: formData });