mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 22:14:26 +00:00
fix
This commit is contained in:
1 parent
cfc2405596
commit
d0af38fb14
6 files changed
+41
-32
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user