From 86ab5ff6e0c38d4c2ac290a6b266f1262b7697f3 Mon Sep 17 00:00:00 2001 From: Aaron Nelson Date: Sun, 26 Apr 2026 18:43:41 -0400 Subject: [PATCH] =?UTF-8?q?Fix=20capture=20form=20field=20name=20=E2=80=94?= =?UTF-8?q?=20audio=20not=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/capture/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/capture/page.tsx b/app/capture/page.tsx index 868dab8..1f6b23f 100644 --- a/app/capture/page.tsx +++ b/app/capture/page.tsx @@ -60,7 +60,7 @@ export default function CapturePage() { try { const blob = new Blob(chunksRef.current, { type: mimeTypeRef.current }); const form = new FormData(); - form.append('file', blob, 'capture.webm'); + form.append('audio', blob, 'capture.webm'); const res = await fetch(`${API_URL}/api/capture`, { method: 'POST', body: form }); if (res.ok) { setState('saved');