@@ -17,7 +17,8 @@ func ApiVersionCheck() gin.HandlerFunc {
|
||||
SetEndpoint(exception.EndpointMiddlewareService).
|
||||
SetType(exception.TypeSpecific).
|
||||
SetOriginal(exception.ApiVersionNotFound).
|
||||
Build(c)
|
||||
Throw(c).
|
||||
String()
|
||||
utils.HttpAbort(c, 400, errorCode)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user