Added debug logs to file upload

This commit is contained in:
DerTyp7
2025-10-09 00:30:20 +02:00
parent b70388db6f
commit a12d607565
2 changed files with 5 additions and 2 deletions
+1
View File
@@ -52,6 +52,7 @@ export async function GET(request: NextRequest) {
}
export async function POST(request: NextRequest) {
console.log('upload file', request);
if (!(await isAuthenticated(request))) {
return NextResponse.json({ error: 'Unauthorized' }, { status: 401 });
}