diff --git a/CHANGELOG.md b/CHANGELOG.md index ac0f5d050..9f459af38 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ Unreleased ---------- +* Make type param for webhooks route optional. This will fix a bug with CLI initiated webhooks. 21.9.0 (January 16, 2023) ---------- diff --git a/config/routes.rb b/config/routes.rb index 899888d57..2f22c152d 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -26,6 +26,6 @@ end namespace :webhooks do - post ":type" => :receive + post "(:type)" => :receive end end