From 1391eb32d808716386f00d84292c4d1a1ac66a4a Mon Sep 17 00:00:00 2001 From: "Pierluigi Cau (PG)" Date: Wed, 4 Sep 2024 03:33:17 +0800 Subject: [PATCH] Fix Discord connection check (#285) --- app/NotificationChannels/Discord.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/NotificationChannels/Discord.php b/app/NotificationChannels/Discord.php index ce283fd..f41e258 100644 --- a/app/NotificationChannels/Discord.php +++ b/app/NotificationChannels/Discord.php @@ -56,7 +56,7 @@ private function checkConnection(string $subject, string $text): bool 'content' => '*'.$subject.'*'."\n".$text, ]); - return $connect->ok(); + return $connect->successful(); } public function send(object $notifiable, NotificationInterface $notification): void