Skip to content

Commit

Permalink
Remove old TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjmcgrath committed Nov 13, 2023
1 parent 9d91b58 commit ed41013
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/session/get-access-token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ export default function accessTokenFactory(
return async (reqOrOpts?, res?, accessTokenRequest?): Promise<GetAccessTokenResult> => {
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);

Expand Down

0 comments on commit ed41013

Please sign in to comment.