Skip to content

Commit

Permalink
chore: 去除无用判断逻辑
Browse files Browse the repository at this point in the history
  • Loading branch information
dragove committed Feb 14, 2024
1 parent e0cb0a6 commit 81da68d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/kotlin/plus/maa/backend/service/jwt/JwtToken.kt
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ open class JwtToken {
this.payload = jwt.payloads

// jwtId is nullable
if (null == issuedAt || requiredType != type
) throw JwtInvalidException()
if (requiredType != type) throw JwtInvalidException()
}

constructor(
Expand Down

0 comments on commit 81da68d

Please sign in to comment.