Webhooks for local status.create, status.update, account.update (#24133)
This commit is contained in:
parent
34096bc6ea
commit
94cbd808b5
5 changed files with 23 additions and 2 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue