Skip to content

Commit

Permalink
Merge pull request #37 from NJUPT-SAST/dev-xun
Browse files Browse the repository at this point in the history
Update link.yml
  • Loading branch information
Xunop authored Sep 13, 2023
2 parents 55eda39 + aa2db4d commit 231ca37
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/link.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
go-version: '1.20'

- name: Build
run: go build -o sast-link
run: go build -o sast-link-backend

- name: Deploy to Server
uses: easingthemes/ssh-deploy@main
Expand Down
2 changes: 1 addition & 1 deletion api/v1/oauth.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func OauthUserInfo(c *gin.Context) {

c.JSON(http.StatusOK, result.Success(gin.H{
"email": user.Email,
"user_id": user.Uid,
"userId": user.Uid,
}))
}

Expand Down
2 changes: 1 addition & 1 deletion api/v1/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func UserInfo(ctx *gin.Context) {

ctx.JSON(http.StatusOK, result.Success(gin.H{
"email": user.Email,
"user_id": user.Uid,
"userId": user.Uid,
}))
}

Expand Down

0 comments on commit 231ca37

Please sign in to comment.