style: fix linting issues met Prettier
This commit is contained in:
parent
f7029ad25b
commit
12178e8469
9 changed files with 23 additions and 15 deletions
|
@ -48,7 +48,7 @@ const idpConfigs = {
|
|||
const verifyJwtToken = expressjwt({
|
||||
secret: async (_: express.Request, token: jwt.Jwt | undefined) => {
|
||||
if (!token?.payload || !(token.payload as JwtPayload).iss) {
|
||||
throw new UnauthorizedException("Invalid token.")
|
||||
throw new UnauthorizedException('Invalid token.');
|
||||
}
|
||||
|
||||
const issuer = (token.payload as JwtPayload).iss;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue