internal: fix linting error

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer 2023-01-09 17:17:27 +01:00
parent d1aa1f46da
commit a42f2f7217
No known key found for this signature in database

View file

@ -28,7 +28,7 @@ func EnableDebugServer() {
enc := json.NewEncoder(w)
enc.SetEscapeHTML(true)
enc.SetIndent("", "\t")
enc.Encode(config.Get())
_ = enc.Encode(config.Get())
})
h.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
_ = h.Walk(func(route *mux.Route, router *mux.Router, ancestors []*mux.Route) error {