style: fix linting issues met Prettier

This commit is contained in:
Lint Action 2025-04-19 14:54:25 +00:00
parent f7029ad25b
commit 12178e8469
9 changed files with 23 additions and 15 deletions

View file

@ -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;