Update route.js

This commit is contained in:
suraj.shenoy.b@gmail.com
2025-01-25 20:54:23 -06:00
parent 1979e21955
commit cbe2ce85be

View File

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