mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-11 19:08:20 +00:00
remove bad write header call
This commit is contained in:
parent
a9985b27f7
commit
3d943ea77d
1 changed files with 0 additions and 1 deletions
|
@ -23,7 +23,6 @@ func HandleAPI(w http.ResponseWriter, r *http.Request) {
|
||||||
|
|
||||||
err := apiHandler.HandleRequest(ctx, r.Body, w)
|
err := apiHandler.HandleRequest(ctx, r.Body, w)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
w.WriteHeader(500)
|
|
||||||
slog.Error("Handling HTTP API Request", err)
|
slog.Error("Handling HTTP API Request", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue