diff options
author | feistel <6742251-feistel@users.noreply.gitlab.com> | 2021-04-22 18:53:18 +0300 |
---|---|---|
committer | feistel <6742251-feistel@users.noreply.gitlab.com> | 2021-04-22 18:53:18 +0300 |
commit | c04f97bdbfa7ae5f1eb732791a3eaa04c8f241d6 (patch) | |
tree | 0982c2c42d1837ddf237971087cda27b9c9a773e /internal/auth | |
parent | 7250a994989f44c8bc3b83f60cba564cd3c3a74e (diff) |
Follow error strings convention
Diffstat (limited to 'internal/auth')
-rw-r--r-- | internal/auth/auth.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/auth/auth.go b/internal/auth/auth.go index da35ba51..5d503799 100644 --- a/internal/auth/auth.go +++ b/internal/auth/auth.go @@ -540,7 +540,7 @@ func (a *Auth) GetTokenIfExists(w http.ResponseWriter, r *http.Request) (string, session, err := a.checkSession(w, r) if err != nil { - return "", errors.New("Error retrieving the session") + return "", errors.New("error retrieving the session") } if session.Values["access_token"] != nil { |