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

@ -9,14 +9,12 @@ use App\Notification\Stringifiable;
class JobDebugNotificationBody extends NotificationBody {
private Job $job;
private string $title;
private string $body;
private string $error;
private ?string $error;
private bool $hasScreenshot;
public function __construct(Job $job, string $title, string $body, string $error, bool $hasScreenshot = false) {
public function __construct(Job $job, string $body, string $error = null, bool $hasScreenshot = false) {
$this->job = $job;
$this->title = $title;
$this->body = $body;
$this->error = $error;
$this->hasScreenshot = $hasScreenshot;