1
0
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:
David Bomba 2023-03-16 19:57:39 +11:00
parent 28dbc05b00
commit 8d66d9e60f

View File

@ -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 = [])