fixed errors identified by gosec

This commit is contained in:
2026-05-06 19:18:38 -06:00
parent 3f1001f3d4
commit 8a2e6756cc
3 changed files with 17 additions and 6 deletions
+1 -1
View File
@@ -21,5 +21,5 @@ func respondWithJSON(w http.ResponseWriter, code int, payload any) {
}
w.Header().Set("Content-Type", "application/json")
w.WriteHeader(code)
w.Write(dat)
_, _ = w.Write(dat)
}