From e2c05fea8c2b79b97ea6a76cd330be2165adae13 Mon Sep 17 00:00:00 2001 From: Bradley Schofield Date: Fri, 26 Jan 2024 09:42:21 +0000 Subject: [PATCH] Update health.php --- app/controllers/api/health.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/health.php b/app/controllers/api/health.php index 413269fb0c..6b7109bcb8 100644 --- a/app/controllers/api/health.php +++ b/app/controllers/api/health.php @@ -719,7 +719,7 @@ App::get('/v1/health/queue/failed/:name') $client = new Client($queueName, $queue); $failed = $client->countFailedJobs(); - $response->dynamic(new Document(['size' => $failed]), Response::MODEL_HEALTH_QUEUE); + $response->dynamic(new Document([ 'size' => $failed ]), Response::MODEL_HEALTH_QUEUE); }); App::get('/v1/health/stats') // Currently only used internally