We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 192c662 commit 4157a06Copy full SHA for 4157a06
src/Controllers/HealthCheckController.php
@@ -37,6 +37,6 @@ public function __invoke(Container $container)
37
}
38
39
return response()
40
- ->json($body, in_array(Arr::get($body, 'status'), [Status::DEGRADED, Status::OKAY]) ? 200 : 500);
+ ->json($body, in_array(Arr::get($body, 'status'), [Status::DEGRADED, Status::OKAY]) ? 200 : config('healthcheck.default-problem-http-code', 500));
41
42
0 commit comments