refactor: Fix linter errors by auto-apply
- Apply automated linter fixes - Manually reformat fields in model/service.go - Resolve code complexity issues
This commit is contained in:
@@ -23,6 +23,7 @@ func SetUserFromJWT() gin.HandlerFunc {
|
||||
subject, err := token.Claims.GetSubject()
|
||||
if err != nil {
|
||||
c.Writer.WriteHeader(http.StatusUnauthorized)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user