From be4c520d4a6c164db1c5555f608b65737ff6cfa9 Mon Sep 17 00:00:00 2001 From: "suraj.shenoy.b@gmail.com" Date: Sat, 25 Jan 2025 21:05:48 -0600 Subject: [PATCH] Update route.js --- src/app/api/transcribe/route.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/api/transcribe/route.js b/src/app/api/transcribe/route.js index 6eb1d29..0f45155 100644 --- a/src/app/api/transcribe/route.js +++ b/src/app/api/transcribe/route.js @@ -50,7 +50,7 @@ async function parseMultipartForm(req) { } // Main handler -export async function PUT(req, res) { +export async function POST(req, res) { if (req.method !== 'POST') { return res.status(405).json({ error: 'Method not allowed. Use POST.' }); }