Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
N7Remus committed Aug 23, 2024
1 parent 4e24bea commit 0ab4706
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/authCallback.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ export const authCallback = () => new Router().get('/auth/callback', (ctx) => {
// eslint-disable-next-line camelcase
const { access_token } = ctx.request.query;

const clean = (access_token: string): string => DOMPurify.sanitize(access_token);
// eslint-disable-next-line camelcase
const clean = DOMPurify.sanitize(access_token as string);

// eslint-disable-next-line camelcase
if (!access_token) {
Expand Down

0 comments on commit 0ab4706

Please # to comment.