diff --git a/src/session/get-access-token.ts b/src/session/get-access-token.ts index c4834b4f..ac9a8845 100644 --- a/src/session/get-access-token.ts +++ b/src/session/get-access-token.ts @@ -236,7 +236,6 @@ export default function accessTokenFactory( return async (reqOrOpts?, res?, accessTokenRequest?): Promise => { const options = (res ? accessTokenRequest : reqOrOpts) as AccessTokenRequest | undefined; const req = (res ? reqOrOpts : undefined) as IncomingMessage | NextApiRequest | undefined; - // TODO: clean up const config = await getConfig(req ? getAuth0ReqRes(req, res as any)[0] : new Auth0NextRequestCookies()); const client = await getClient(config);