summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/controllers/sparkles/controller.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/sparkles/controller.go b/app/controllers/sparkles/controller.go
index 5167c2a..0b86c7e 100644
--- a/app/controllers/sparkles/controller.go
+++ b/app/controllers/sparkles/controller.go
@@ -56,7 +56,6 @@ func (c *Controller) Create(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusCreated)
if err := serde.ToHTTP(w, r, sparkle); err != nil {
pls.LogError(r.Context(), err)
- w.WriteHeader(http.StatusInternalServerError)
return
}
}