Skip to content

Commit 6f286a4

Browse files
handle bk_webhook under /external too
1 parent 7a1c22e commit 6f286a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/request_handler.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ let run ~ctx ~addr ~port =
4141
log#debug "slack event: %s" request.body;
4242
let%lwt res = Action.process_slack_event ctx request.headers request.body in
4343
ret res
44-
| _, [ "bk_webhook" ] ->
44+
| _, [ "bk_webhook" ] | _, [ "external"; "bk_webhook" ] ->
4545
log#debug "buildkite webhook: %s" request.body;
4646
let%lwt () = Action.process_buildkite_webhook ctx request.headers request.body in
4747
ret "ok"

0 commit comments

Comments
 (0)