Skip to content

Commit

Permalink
feat:支持管理我的 OAUTH #10995
Browse files Browse the repository at this point in the history
  • Loading branch information
hejieehe committed Dec 16, 2024
1 parent 28cbb28 commit fee0c9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ data class GithubToken(
@get:Schema(title = "创建时间(时间戳)")
val createTime: Long,
@get:Schema(title = "用户名 (github server端的用户名)")
val userId: String,
val userId: String? = "",
@get:Schema(title = "操作者 (蓝盾平台用户名)")
val operator: String? = ""
)
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class GithubTokenDao {
.set(ACCESS_TOKEN, accessToken)
.set(SCOPE, scope)
.let {
if (operator.isNotBlank()){
if (operator.isNotBlank()) {
it.set(OPERATOR, operator)
}
it
Expand Down

0 comments on commit fee0c9e

Please sign in to comment.