Skip to content

Commit

Permalink
Update health.php
Browse files Browse the repository at this point in the history
  • Loading branch information
PineappleIOnic committed Jan 26, 2024
1 parent 73b1837 commit e2c05fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/api/health.php
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@
$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
Expand Down

0 comments on commit e2c05fe

Please sign in to comment.