Skip to content

Commit bf2b589

Browse files
committed
Remove unused function
1 parent 06c07dc commit bf2b589

File tree

1 file changed

+0
-7
lines changed
  • packages/auth-providers/dbAuth/api/src

1 file changed

+0
-7
lines changed

packages/auth-providers/dbAuth/api/src/shared.ts

-7
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,6 @@ const legacyDecryptSession = (encryptedText: string) => {
9696
export const extractCookie = (event: APIGatewayProxyEvent | Request) => {
9797
return eventGraphiQLHeadersCookie(event) || getEventHeader(event, 'Cookie')
9898
}
99-
100-
function extractEncryptedSessionFromHeader(
101-
event: APIGatewayProxyEvent | Request
102-
) {
103-
return getEventHeader(event, 'Authorization')?.split(' ')[1]
104-
}
105-
10699
// whether this encrypted session was made with the old CryptoJS algorithm
107100
export const isLegacySession = (text: string | undefined) => {
108101
if (!text) {

0 commit comments

Comments
 (0)