mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-20 20:01:17 +00:00
[customevent] Fix: Make the response code match the docs
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
4ba3e595f2
commit
2b0b5e3dc0
1 changed files with 1 additions and 1 deletions
|
@ -41,5 +41,5 @@ func handleCreateEvent(w http.ResponseWriter, r *http.Request) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
w.WriteHeader(http.StatusCreated)
|
w.WriteHeader(http.StatusNoContent)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue