From 44d20a4a1bab300fda5c91843561aa4a4fbe51ba Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 29 Jan 2023 18:41:24 +1100 Subject: [PATCH] Minor clean up for webhooks --- app/Jobs/Util/WebhookSingle.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/Jobs/Util/WebhookSingle.php b/app/Jobs/Util/WebhookSingle.php index faa0c4fc9ce6..2e80af61ea4b 100644 --- a/app/Jobs/Util/WebhookSingle.php +++ b/app/Jobs/Util/WebhookSingle.php @@ -112,15 +112,11 @@ class WebhookSingle implements ShouldQueue $client = new Client(['headers' => array_merge($base_headers, $headers)]); -nlog("attempting ". $subscription->target_url); - try { $response = $client->post($subscription->target_url, [ RequestOptions::JSON => $data, // or 'json' => [...] ]); -nlog($response->getStatusCode()); - SystemLogger::dispatch( array_merge((array) $response, $data), SystemLog::CATEGORY_WEBHOOK,