We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c90234a commit 7ad7c7eCopy full SHA for 7ad7c7e
packages/service-utils/src/node/index.ts
@@ -76,11 +76,11 @@ function getHeader(
76
headers: IncomingHttpHeaders | Headers,
77
headerName: string,
78
): string | null {
79
- return isNodeHeaders(headers)
+ return isNodeHeaders(headers)
80
? Array.isArray(headers[headerName])
81
? (headers[headerName]?.[0] ?? null)
82
: (headers[headerName] ?? null)
83
- : headers.get(headerName) ?? null;
+ : (headers.get(headerName) ?? null);
84
}
85
86
export function extractAuthorizationData(
0 commit comments