[customevent] Fix: Make the response code match the docs

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2022-03-31 00:31:25 +02:00
parent 4ba3e595f2
commit 2b0b5e3dc0
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -41,5 +41,5 @@ func handleCreateEvent(w http.ResponseWriter, r *http.Request) {
return
}
w.WriteHeader(http.StatusCreated)
w.WriteHeader(http.StatusNoContent)
}