From 24a69e953fae61801d39d3f9ac1f29037324a879 Mon Sep 17 00:00:00 2001 From: "suraj.shenoy.b@gmail.com" Date: Sat, 25 Jan 2025 20:56:09 -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 1ae9d14..4742192 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 PUT(req, res) { +export async function PUT(req, res) { if (req.method !== 'POST') { return res.status(405).json({ error: 'Method not allowed. Use POST.' }); }