This commit is contained in:
Andras Bacsai committed 2023-06-21 10:48:43 +02:00
1 parent cfc2405596
commit d0af38fb14
6 files changed
+41 -32

No files matched your search

+3 -2
View File
@@ -29,7 +29,8 @@ class SendMessageToDiscordJob implements ShouldQueue
public function __construct(
public string $text,
public string $webhookUrl
) {}
) {
}
/**
* Execute the job.
@@ -39,7 +40,7 @@ class SendMessageToDiscordJob implements ShouldQueue
$payload = [
'content' => $this->text,
];
ray($payload);
Http::post($this->webhookUrl, $payload);
}
}