Fix wording, docs and style inconsistencies per audit of 0139564
This commit is contained in:
1 parent
5a21396775
commit
681cc2b090
42 files changed
+469
-453
No files matched your search
@@ -31,7 +31,7 @@ func Handler(hooks map[string]Func) http.HandlerFunc {
|
||||
}
|
||||
out, err := fn(r.Context(), body)
|
||||
if err != nil {
|
||||
slog.Error("hook failed", "event", event, "err", err)
|
||||
slog.Error("run hook", "event", event, "err", err)
|
||||
out = map[string]any{}
|
||||
}
|
||||
w.Header().Set("Content-Type", "application/json")
|
||||
|
||||
Reference in new issue
Block a user