diff options
author | Vyr Cossont <VyrCossont@users.noreply.github.com> | 2023-03-18 23:47:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-19 07:47:54 +0100 |
commit | 94cbd808b5b3e7999c7e77dc724b7e8c9dd2bdec (patch) | |
tree | 8d99247a5d64a38a3ce45eb20f9dc75b74a6f492 /app/workers/webhooks | |
parent | 34096bc6ea788fece267116ef190e0d218f77b18 (diff) |
Webhooks for local status.create, status.update, account.update (#24133)
Diffstat (limited to 'app/workers/webhooks')
-rw-r--r-- | app/workers/webhooks/delivery_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/webhooks/delivery_worker.rb b/app/workers/webhooks/delivery_worker.rb index b1e345c5e..f8ed669fb 100644 --- a/app/workers/webhooks/delivery_worker.rb +++ b/app/workers/webhooks/delivery_worker.rb @@ -19,7 +19,7 @@ class Webhooks::DeliveryWorker private def perform_request - request = Request.new(:post, @webhook.url, body: @body) + request = Request.new(:post, @webhook.url, body: @body, allow_local: true) request.add_headers( 'Content-Type' => 'application/json', |