mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04: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());
|
$resource = new Item($this->entity, $transformer, $this->entity->getEntityType());
|
||||||
$data = $manager->createData($resource)->toArray();
|
$data = $manager->createData($resource)->toArray();
|
||||||
|
|
||||||
$this->postData($subscription, $data, []);
|
$this->postData($subscription, $data, $subscription->headers);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function postData($subscription, $data, $headers = [])
|
private function postData($subscription, $data, $headers = [])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user