Skip to content

Commit f066f9d

Browse files
Merge pull request #2 from Dziamid-Harbatsevich/dev
Update HealthCheckController.php
2 parents 64bdb95 + 04c5af9 commit f066f9d

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
@@ -42,6 +42,6 @@ public function __invoke(Container $container)
4242
}
4343
}
4444

45-
return new Response($body, $isProblem ? config('healthcheck.default-problem-http-code') : 200);
45+
return new Response($body, $isProblem ? config('healthcheck.default-problem-http-code', 500) : 200);
4646
}
4747
}

0 commit comments

Comments
 (0)