~bfiedler/go-threema

3aa93c60c03b95a4fe7631db1b7c4165020512ab — Ben Fiedler 1 year, 1 month ago f3f7ffd main
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)