Fix Discord connection check (#285)

This commit is contained in:
Pierluigi Cau (PG) 2024-09-04 03:33:17 +08:00 committed by GitHub
parent 7f5e68e131
commit 1391eb32d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,7 +56,7 @@ private function checkConnection(string $subject, string $text): bool
'content' => '*'.$subject.'*'."\n".$text, 'content' => '*'.$subject.'*'."\n".$text,
]); ]);
return $connect->ok(); return $connect->successful();
} }
public function send(object $notifiable, NotificationInterface $notification): void public function send(object $notifiable, NotificationInterface $notification): void