From cbe2ce85be75a5845cd25988d7656e13a7eb6b86 Mon Sep 17 00:00:00 2001 From: "suraj.shenoy.b@gmail.com" Date: Sat, 25 Jan 2025 20:54:23 -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 7c0a0ab..1ae9d14 100644 --- a/src/app/api/transcribe/route.js +++ b/src/app/api/transcribe/route.js @@ -56,7 +56,7 @@ async function parseMultipartForm(req) { } // Main handler -export default async function handler(req, res) { +export default async function PUT(req, res) { if (req.method !== 'POST') { return res.status(405).json({ error: 'Method not allowed. Use POST.' }); }