Skip to content

Commit 4157a06

Browse files
authored
Pull in updates from another branch
This line has changed in both locations
1 parent 192c662 commit 4157a06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Controllers/HealthCheckController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ public function __invoke(Container $container)
3737
}
3838

3939
return response()
40-
->json($body, in_array(Arr::get($body, 'status'), [Status::DEGRADED, Status::OKAY]) ? 200 : 500);
40+
->json($body, in_array(Arr::get($body, 'status'), [Status::DEGRADED, Status::OKAY]) ? 200 : config('healthcheck.default-problem-http-code', 500));
4141
}
4242
}

0 commit comments

Comments
 (0)