chore: fix linting

This commit is contained in:
Anish Sarkar 2026-06-25 04:31:22 +05:30
parent 7d4c994900
commit d6bffa6f07
61 changed files with 167 additions and 218 deletions

View file

@ -23,8 +23,7 @@ function validateZeroCacheRequest(request: Request): NextResponse | null {
async function authenticateRequest(
request: Request
): Promise<
| { ctx: Exclude<Context, undefined>; error?: never }
| { ctx?: never; error: NextResponse }
{ ctx: Exclude<Context, undefined>; error?: never } | { ctx?: never; error: NextResponse }
> {
const authHeader = request.headers.get("Authorization");
const cookieHeader = request.headers.get("Cookie");