mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-28 21:49:40 +02:00
chore: fix linting
This commit is contained in:
parent
7d4c994900
commit
d6bffa6f07
61 changed files with 167 additions and 218 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue