diff --git a/CHANGELOG.md b/CHANGELOG.md index e87bc42da..7b7fe7340 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.[1786](https://github.com/Shopify/shopify_app/pull/1786) 21.10.0 (January 24, 2024) ---------- 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