js -> ts
This commit is contained in:
@@ -76,7 +76,7 @@ export async function requireApiAuth(request: Request): Promise<AuthResult> {
|
||||
}
|
||||
clearTimeout(timeout);
|
||||
|
||||
let newSetCookieHeader = null;
|
||||
let newSetCookieHeader: string[] | null = null;
|
||||
|
||||
// If unauthorized, try to refresh the token
|
||||
if (res.status === 401) {
|
||||
|
||||
Reference in New Issue
Block a user