feat: scheduled task success and failure notifications

This commit is contained in:
peaklabs-dev
2024-12-10 14:45:47 +01:00
parent 96d4754a32
commit 99eea783ae
5 changed files with 12 additions and 9 deletions

View File

@@ -16,9 +16,9 @@ class TaskFailed extends CustomEmailNotification
{
$this->onQueue('high');
if ($task->application) {
$this->url = $task->application->failedTaskLink($task->uuid);
$this->url = $task->application->taskLink($task->uuid);
} elseif ($task->service) {
$this->url = $task->service->failedTaskLink($task->uuid);
$this->url = $task->service->taskLink($task->uuid);
}
}