lint: avatar shadow err

This commit is contained in:
Umputun
2018-05-12 13:17:34 -05:00
parent 70a3269589
commit f587af37bd
+1 -1
View File
@@ -117,7 +117,7 @@ func (p *AvatarProxy) Routes() (string, chi.Router) {
}()
w.Header().Set("Content-Type", "image/*")
if fi, err := fh.Stat(); err == nil {
if fi, e := fh.Stat(); e == nil {
w.Header().Set("Content-Length", strconv.Itoa(int(fi.Size())))
}