Fix formatting

This commit is contained in:
2026-01-10 08:51:20 -06:00
parent 17ea6ba02d
commit 6c0895de07
5 changed files with 29 additions and 10 deletions

View File

@@ -19,7 +19,9 @@ function hashToken(token: string): string {
// Parse token from Authorization header
function parseAuthorizationHeader(header: string | undefined): string | null {
if (!header) return null;
if (!header) {
return null;
}
const parts = header.split(" ");
if (parts.length !== 2 || parts[0].toLowerCase() !== "bearer") {