Update route.js

This commit is contained in:
suraj.shenoy.b@gmail.com
2025-01-25 21:05:48 -06:00
parent c944f60d2b
commit be4c520d4a

View File

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