From f3645405a322b601fc11053180627d24ecd48c76 Mon Sep 17 00:00:00 2001 From: "Pierluigi Cau (PG)" Date: Tue, 3 Sep 2024 15:54:53 +0800 Subject: [PATCH] Fix Discord connection check --- 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 ce283fd8..f41e2586 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