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.' }); }