Update Prettier
This commit is contained in:
1 parent
9e1d7eca9b
commit
9706026ea5
16 files changed
+83
-86
No files matched your search
+3
-3
@@ -52,9 +52,9 @@ function parseHeaderFeilds(str: string): Record<string, string> {
|
||||
return res;
|
||||
}
|
||||
|
||||
export function parseAuthorizationHeader(
|
||||
authHeader: string
|
||||
): { method: string } {
|
||||
export function parseAuthorizationHeader(authHeader: string): {
|
||||
method: string;
|
||||
} {
|
||||
authHeader = authHeader.trim();
|
||||
const method = authHeader.split(" ", 1)[0];
|
||||
const res = { method: method };
|
||||
|
||||
Reference in new issue
Block a user