mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 19:14:45 +02:00
parent
cba4cf11aa
commit
d48cf6b722
@ -23,7 +23,9 @@ class ProcessWebhook implements ShouldQueue
|
|||||||
public function handle(): void
|
public function handle(): void
|
||||||
{
|
{
|
||||||
try {
|
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();
|
$successful = now();
|
||||||
} catch (\Exception) {
|
} catch (\Exception) {
|
||||||
$successful = null;
|
$successful = null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user