First merge from develop to main (WIP) #7
@@ -17,7 +17,7 @@ func JWTAuth() gin.HandlerFunc {
|
||||
uid, err := authtoken.HeaderVerify(auth)
|
||||
if err != nil {
|
||||
errorCode := new(exception.Builder).
|
||||
SetStatus(exception.StatusServer).
|
||||
SetStatus(exception.StatusUser).
|
||||
SetService(exception.MiddlewareServiceJwt).
|
||||
SetEndpoint(exception.EndpointMiddlewareService).
|
||||
SetType(exception.TypeCommon).
|
||||
|
||||
Reference in New Issue
Block a user