Run "make fmt”
This commit is contained in:
parent
da7035c106
commit
d51f24bde9
2 changed files with 1 additions and 2 deletions
|
@ -38,7 +38,7 @@ func AuthEndpoints(router *gin.RouterGroup) {
|
|||
} else if len(userInfo.GetNickname()) >= 4 {
|
||||
uname = userInfo.GetNickname()
|
||||
} else if len(userInfo.GetName()) >= 4 {
|
||||
uname = strings.ReplaceAll(strings.ToLower(userInfo.GetName())," ", "-")
|
||||
uname = strings.ReplaceAll(strings.ToLower(userInfo.GetName()), " ", "-")
|
||||
} else if len(userInfo.GetEmail()) >= 4 {
|
||||
uname = userInfo.GetEmail()
|
||||
} else {
|
||||
|
|
|
@ -38,7 +38,6 @@ func (lrt LoggingRoundTripper) RoundTrip(req *http.Request) (res *http.Response,
|
|||
//log.Debugf("Request Body: %s\n", bu.String())
|
||||
//req.Body = io.NopCloser(bu)
|
||||
|
||||
|
||||
// Send the request, get the response (or the error)
|
||||
res, e = lrt.proxy.RoundTrip(req)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue