mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 12:14:45 +02:00
parent
cba4cf11aa
commit
d48cf6b722
@ -23,7 +23,9 @@ class ProcessWebhook implements ShouldQueue
|
||||
public function handle(): void
|
||||
{
|
||||
try {
|
||||
Http::post($this->webhookConfiguration->endpoint, $this->data)->throw();
|
||||
Http::withHeader('X-Webhook-Event', $this->eventName)
|
||||
->post($this->webhookConfiguration->endpoint, $this->data)
|
||||
->throw();
|
||||
$successful = now();
|
||||
} catch (\Exception) {
|
||||
$successful = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user