From 933ba2da0d502ea2dfb048bdddbeebac624af8bf Mon Sep 17 00:00:00 2001 From: Gustavo Maronato Date: Fri, 15 Sep 2023 19:48:09 -0300 Subject: [PATCH] errors should not be capitalized --- internal/web/auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/web/auth.go b/internal/web/auth.go index 2ef4096..d050a97 100644 --- a/internal/web/auth.go +++ b/internal/web/auth.go @@ -216,7 +216,7 @@ func oauthCallback(ctx echo.Context) error { case "gitea": resp, err = http.Get(urlJoin(config.C.GiteaUrl, user.NickName+".keys")) case "openid-connect": - err = errors.New("Cannot get keys from OIDC provider") + err = errors.New("cannot get keys from OIDC provider") } if err == nil {