diff --git a/app/Jobs/ProcessWebhook.php b/app/Jobs/ProcessWebhook.php index 2206e0028fe..efd95156d06 100644 --- a/app/Jobs/ProcessWebhook.php +++ b/app/Jobs/ProcessWebhook.php @@ -23,6 +23,11 @@ public function __construct( public function handle(): void { + $this->data = [ + 'event' => $this->eventName, + 'attributes' => $this->data, + ]; + try { Http::post($this->webhookConfiguration->endpoint, $this->data)->throw(); $successful = now();