repos / pico

pico services mono repo
git clone https://github.com/picosh/pico.git

commit
ee7df39
parent
25aaa15
author
Eric Bower
date
2025-12-15 23:35:34 -0500 EST
chore: fix lint
1 files changed,  +3, -1
M pkg/apps/prose/api.go
+3, -1
 1@@ -930,7 +930,9 @@ func imgRequest(w http.ResponseWriter, r *http.Request) {
 2 		http.Error(w, err.Error(), http.StatusUnprocessableEntity)
 3 		return
 4 	}
 5-	defer contents.Close()
 6+	defer func() {
 7+		_ = contents.Close()
 8+	}()
 9 
10 	contentType := ""
11 	if info != nil {