Skip to content

Commit

Permalink
Fix Discord connection check
Browse files Browse the repository at this point in the history
  • Loading branch information
pierluigi authored Sep 3, 2024
1 parent 7f5e68e commit f364540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/NotificationChannels/Discord.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f364540

Please sign in to comment.