fix auth sync requests after login

This commit is contained in:
kuekhaoyang
2026-07-09 16:33:44 +08:00
parent d325603123
commit 610f57c5b0
10 changed files with 49 additions and 14 deletions
+5
View File
@@ -0,0 +1,5 @@
import { NextResponse } from 'next/server';
export function authenticationRequiredResponse(): NextResponse {
return NextResponse.json({ error: 'Authentication required' }, { status: 401 });
}