First merge from develop to main (WIP) #7

Merged
sugar merged 199 commits from develop into main 2026-01-27 17:47:07 +00:00
Showing only changes of commit 8e41514d05 - Show all commits

View File

@@ -17,7 +17,7 @@ func JWTAuth() gin.HandlerFunc {
uid, err := authtoken.HeaderVerify(auth) uid, err := authtoken.HeaderVerify(auth)
if err != nil { if err != nil {
errorCode := new(exception.Builder). errorCode := new(exception.Builder).
SetStatus(exception.StatusServer). SetStatus(exception.StatusUser).
SetService(exception.MiddlewareServiceJwt). SetService(exception.MiddlewareServiceJwt).
SetEndpoint(exception.EndpointMiddlewareService). SetEndpoint(exception.EndpointMiddlewareService).
SetType(exception.TypeCommon). SetType(exception.TypeCommon).