Fix Notifications
Some checks failed
Push image to registry / build-image (push) Failing after 4m19s

This commit is contained in:
2025-03-02 13:31:26 +01:00
parent 0014045d52
commit 17af60471b
4 changed files with 10 additions and 11 deletions

View File

@ -15,7 +15,7 @@ abstract class Notification {
public function __construct(int $jobId, NotificationBody $body = null, bool $isError = false) {
$this->job = Job::find($jobId);
if (!isNull($body)) {
if ($body !== null) {
$this->body = $body;
}
$this->isError = $isError;