Commit ee7df39

Eric Bower  ·  2025-12-15 23:35:34 -0500 EST
parent 25aaa15
chore: fix lint
1 files changed,  +3, -1
+3, -1
......@@ -930,7 +930,9 @@ func imgRequest(w http.ResponseWriter, r *http.Request) {
930930 http.Error(w, err.Error(), http.StatusUnprocessableEntity)
931931 return
932932 }
933- defer contents.Close()
933+ defer func() {
934+ _ = contents.Close()
935+ }()
934936
935937 contentType := ""
936938 if info != nil {