diff --git a/app/controllers/api/health.php b/app/controllers/api/health.php index 3b34f2cdec..3b875f7156 100644 --- a/app/controllers/api/health.php +++ b/app/controllers/api/health.php @@ -718,7 +718,7 @@ App::get('/v1/health/queue/failed/:name') ->inject('queue') ->action(function (string $name, int|string $threshold, Response $response, Connection $queue) { $threshold = \intval($threshold); - + $client = new Client($name, $queue); $failed = $client->countFailedJobs();