mirror of
https://github.com/coollabsio/coolify.git
synced 2026-09-24 07:25:13 -05:00
fix: TypeError when adding a new scheduled task
This commit is contained in:
@@ -102,7 +102,7 @@ class Add extends Component
|
||||
}
|
||||
}
|
||||
|
||||
private function saveScheduledTask(): mixed
|
||||
private function saveScheduledTask(): void
|
||||
{
|
||||
try {
|
||||
$task = new ScheduledTask;
|
||||
@@ -128,7 +128,7 @@ class Add extends Component
|
||||
$this->dispatch('refreshTasks');
|
||||
$this->dispatch('success', 'Scheduled task added.');
|
||||
} catch (\Throwable $e) {
|
||||
return handleError($e, $this);
|
||||
handleError($e, $this);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user