remove bad write header call

This commit is contained in:
Samuel Lorch 2023-03-05 21:27:56 +01:00
parent a9985b27f7
commit 3d943ea77d

View file

@ -23,7 +23,6 @@ func HandleAPI(w http.ResponseWriter, r *http.Request) {
err := apiHandler.HandleRequest(ctx, r.Body, w)
if err != nil {
w.WriteHeader(500)
slog.Error("Handling HTTP API Request", err)
}
}