mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Pass webhook headers into webhook request
This commit is contained in:
parent
28dbc05b00
commit
8d66d9e60f
@ -105,7 +105,7 @@ class WebhookSingle implements ShouldQueue
|
||||
$resource = new Item($this->entity, $transformer, $this->entity->getEntityType());
|
||||
$data = $manager->createData($resource)->toArray();
|
||||
|
||||
$this->postData($subscription, $data, []);
|
||||
$this->postData($subscription, $data, $subscription->headers);
|
||||
}
|
||||
|
||||
private function postData($subscription, $data, $headers = [])
|
||||
|
Loading…
Reference in New Issue
Block a user