From eeb913110d38302d4014ed75a39a6cc2120cd676 Mon Sep 17 00:00:00 2001 From: Umputun Date: Mon, 1 Jan 2018 16:25:36 -0600 Subject: [PATCH] lint: shadow error --- app/rest/common/http_errors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/rest/common/http_errors.go b/app/rest/common/http_errors.go index a1cc94a4..5854957b 100644 --- a/app/rest/common/http_errors.go +++ b/app/rest/common/http_errors.go @@ -24,7 +24,7 @@ func SendErrorText(w http.ResponseWriter, r *http.Request, code int, text string func logDetails(r *http.Request, code int, err error, details string) { uinfoStr := "" - if user, err := GetUserInfo(r); err == nil { + if user, е := GetUserInfo(r); е == nil { uinfoStr = user.Name + "/" + user.ID + " - " }