From 8045914e21268b7882575be51b02b5097fbf5b76 Mon Sep 17 00:00:00 2001 From: RMartinOscar <40749467+RMartinOscar@users.noreply.github.com> Date: Wed, 30 Oct 2024 00:38:29 +0000 Subject: [PATCH] Show eventName --- app/Jobs/ProcessWebhook.php | 5 +++++ 1 file changed, 5 insertions(+) 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();