fix(core): update Slack notification formatting to use bold correctly
This commit is contained in:
@@ -79,8 +79,8 @@ class BackupFailed extends CustomEmailNotification
|
||||
$title = 'Database backup failed';
|
||||
$description = "Database backup for {$this->name} (db:{$this->database_name}) has FAILED.";
|
||||
|
||||
$description .= "\n\n**Frequency:** {$this->frequency}";
|
||||
$description .= "\n\n**Error Output:**\n{$this->output}";
|
||||
$description .= "\n\n*Frequency:* {$this->frequency}";
|
||||
$description .= "\n\n*Error Output:* {$this->output}";
|
||||
|
||||
return new SlackMessage(
|
||||
title: $title,
|
||||
|
||||
@@ -77,7 +77,7 @@ class BackupSuccess extends CustomEmailNotification
|
||||
$title = 'Database backup successful';
|
||||
$description = "Database backup for {$this->name} (db:{$this->database_name}) was successful.";
|
||||
|
||||
$description .= "\n\n**Frequency:** {$this->frequency}";
|
||||
$description .= "\n\n*Frequency:* {$this->frequency}";
|
||||
|
||||
return new SlackMessage(
|
||||
title: $title,
|
||||
|
||||
Reference in New Issue
Block a user