mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 07:34:43 +00:00
Code cleanup.
This commit is contained in:
@@ -34,12 +34,11 @@ class HealthcheckController extends Controller
|
||||
{
|
||||
/**
|
||||
* Sends 'OK' info when app is alive
|
||||
*
|
||||
* @return Response
|
||||
*/
|
||||
public function check(): Response
|
||||
{
|
||||
User::count(); // sanity check for database health. Will crash if not OK.
|
||||
|
||||
return response('OK', 200);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user