1
0
Fork 0
mirror of synced 2024-06-29 19:50:26 +12:00

Update health.php

This commit is contained in:
Bradley Schofield 2021-10-15 10:40:25 +01:00
parent f988a89cf3
commit 7540dafa9b

View file

@ -5,7 +5,6 @@ use Utopia\Exception;
use Utopia\Storage\Device\Local;
use Utopia\Storage\Storage;
use Appwrite\ClamAV\Network;
use Appwrite\Database\Database;
use Appwrite\Event\Event;
App::get('/v1/health')
@ -50,9 +49,7 @@ App::get('/v1/health/db')
$db = $utopia->getResource('db'); /* @var $db PDO */
// Run a small test to check the connection
$statement = $db->prepare("
SELECT 1;"
);
$statement = $db->prepare("SELECT 1;");
$statement->closeCursor();