Skip to content

Commit

Permalink
fix(custom-decorators): fix import of jwt decode
Browse files Browse the repository at this point in the history
  • Loading branch information
g-ongenae committed Nov 8, 2023
1 parent 63d7955 commit 800ab6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/custom-decorators/src/decode-jwt.decorator.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createParamDecorator, ExecutionContext, UnauthorizedException } from '@nestjs/common';
import jwtDecode from 'jwt-decode';
import { jwtDecode } from 'jwt-decode';

export const DecodeJWT: () => ParameterDecorator = createParamDecorator(
async (_data: unknown, ctx: ExecutionContext): Promise<unknown> => {
Expand Down

0 comments on commit 800ab6f

Please sign in to comment.