Run "make fmt”

This commit is contained in:
Timo Volkmann 2021-09-09 11:28:50 +02:00
parent da7035c106
commit d51f24bde9
2 changed files with 1 additions and 2 deletions

View file

@ -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 {

View file

@ -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)