Skip to content

Commit

Permalink
fix: remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
anzharip committed Jun 28, 2022
1 parent 00febe8 commit b8c1f80
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,4 @@ class ApiGatewayHttpApiProxyEventHandler {
}
}

function _getCookies(event: ApiGatewayHttpApiProxyEvent): CookieResult {
const { cookies } = event;
const cookieStrings = cookies;
const cookieObjects: Array<setCookieParser.Cookie> = [];
for (const cookie of cookies) {
const parsedCookie = setCookieParser.parseString(cookie);
cookieObjects.push(parsedCookie);
}
return { cookieStrings, cookieObjects };
}

export { ApiGatewayHttpApiProxyEventHandler };

0 comments on commit b8c1f80

Please sign in to comment.