refactor: eslint and prettier conflict will be resolved and formatted

This commit is contained in:
Enes Köksal
2026-04-23 17:05:43 +03:00
parent 385b61f29b
commit 3cfea40fbd
219 changed files with 16638 additions and 13663 deletions
+4 -1
View File
@@ -83,7 +83,10 @@ export async function POST(request: NextRequest, { params }: RouteParams) {
const tokenForAttempt = shareTokenFromBody || pendingToken;
if (!tokenForAttempt) {
return NextResponse.json({ error: 'Share session expired. Open the share link again.' }, { status: 401 });
return NextResponse.json(
{ error: 'Share session expired. Open the share link again.' },
{ status: 401 }
);
}
// Additional throttle bound to token+IP to reduce password guessing against one link.