0
0
Fork 0

Webhooks for local status.create, status.update, account.update (#24133)

This commit is contained in:
Vyr Cossont 2023-03-18 23:47:54 -07:00 committed by GitHub
parent 34096bc6ea
commit 94cbd808b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 23 additions and 2 deletions

View file

@ -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',