am-hook: Fix missing return
1 files changed, 1 insertions(+), 0 deletions(-) M cmd/am-hook/main.go
M cmd/am-hook/main.go => cmd/am-hook/main.go +1 -0
@@ 119,6 119,7 @@ func handle(w http.ResponseWriter, r *http.Request) { if !lim.Allow() { // we have exceeded the number of possible messages http.Error(w, "rate limited", http.StatusTooManyRequests) + return } d := json.NewDecoder(r.Body)