diff --git a/app/Notifications/Server/DockerCleanupFailed.php b/app/Notifications/Server/DockerCleanupFailed.php
index d7f70e029..53714925c 100644
--- a/app/Notifications/Server/DockerCleanupFailed.php
+++ b/app/Notifications/Server/DockerCleanupFailed.php
@@ -25,8 +25,8 @@ class DockerCleanupFailed extends CustomEmailNotification
$mail = new MailMessage;
$mail->subject("Coolify: [ACTION REQUIRED] Docker cleanup job failed on {$this->server->name}");
$mail->view('emails.docker-cleanup-failed', [
- 'serverName' => $this->server->name,
- 'message' => $this->message,
+ 'name' => $this->server->name,
+ 'text' => $this->message,
]);
return $mail;
diff --git a/app/Notifications/Server/DockerCleanupSuccess.php b/app/Notifications/Server/DockerCleanupSuccess.php
index eb84de787..85a819da2 100644
--- a/app/Notifications/Server/DockerCleanupSuccess.php
+++ b/app/Notifications/Server/DockerCleanupSuccess.php
@@ -25,14 +25,13 @@ class DockerCleanupSuccess extends CustomEmailNotification
$mail = new MailMessage;
$mail->subject("Coolify: Docker cleanup job succeeded on {$this->server->name}");
$mail->view('emails.docker-cleanup-success', [
- 'serverName' => $this->server->name,
- 'message' => $this->message,
+ 'name' => $this->server->name,
+ 'text' => $this->message,
]);
return $mail;
}
-
public function toDiscord(): DiscordMessage
{
return new DiscordMessage(
diff --git a/resources/views/emails/docker-cleanup-failed.blade.php b/resources/views/emails/docker-cleanup-failed.blade.php
index 9661df084..a12f20fa8 100644
--- a/resources/views/emails/docker-cleanup-failed.blade.php
+++ b/resources/views/emails/docker-cleanup-failed.blade.php
@@ -1,8 +1,8 @@
-{{ $message }}
+{{ $text }}
-"{{ $message }}"
+{{ $text }}
-