Skip to content

Commit

Permalink
discard error
Browse files Browse the repository at this point in the history
  • Loading branch information
gartnera committed Sep 3, 2024
1 parent 6324d02 commit 4f8d06e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/openapi/openapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ func RegisterOpenAPIService(router *mux.Router) {
func openAPIHandler() http.HandlerFunc {
return func(w http.ResponseWriter, _ *http.Request) {
w.Header().Set("Content-Type", "text/html; charset=utf-8")
w.Write(html)
_, _ = w.Write(html)
}
}

0 comments on commit 4f8d06e

Please sign in to comment.