diff --git a/src/utils/get-secret.ts b/src/utils/get-secret.ts index a18d43f..d184d15 100644 --- a/src/utils/get-secret.ts +++ b/src/utils/get-secret.ts @@ -2,7 +2,7 @@ import { getCookie } from "./get-cookie"; import { IncomingMessage } from "http"; const getSecret = (req: IncomingMessage, tokenKey: string): string => { - return getCookie(req, tokenKey.toLowerCase()); + return getCookie(req, tokenKey); }; export { getSecret };