Skip to content

Commit

Permalink
Merge branch 'hotfix_v3.2.7' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjiawei committed Oct 22, 2024
2 parents e10659c + 0e34479 commit be3fdcb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions monitor-server/middleware/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,7 @@ func ReturnPasswordError(c *gin.Context) {
}

func ReturnTokenError(c *gin.Context) {
ReturnError(c, http.StatusOK, GetMessageMap(c).TokenError, nil)
}

func ReturnTokenAuthorityError(c *gin.Context) {
ReturnError(c, http.StatusOK, GetMessageMap(c).TokenAuthorityError, nil)
ReturnError(c, 401, GetMessageMap(c).TokenError, nil)
}

func ReturnDashboardNameRepeatError(c *gin.Context) {
Expand Down

0 comments on commit be3fdcb

Please sign in to comment.