Skip to content

Commit

Permalink
feat:支持管理我的 OAUTH TencentBlueKing#10995
Browse files Browse the repository at this point in the history
  • Loading branch information
hejieehe committed Dec 13, 2024
1 parent a1f1570 commit 47dd397
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class OauthRepositoryService @Autowired constructor(
type = scmCode,
createTime = it.createTime,
expired = it.expiresIn?.let { expiresIn ->
(it.createTime ?: 0L) + expiresIn * 1000 > System.currentTimeMillis()
(it.createTime ?: 0L) + expiresIn * 1000 <= System.currentTimeMillis()
} ?: false,
authorized = true
)
Expand Down

0 comments on commit 47dd397

Please sign in to comment.