1
0
Fork 0
mirror of synced 2024-06-02 19:04:49 +12:00

fix warning

This commit is contained in:
Damodar Lohani 2021-06-10 12:05:46 +05:45
parent 32e6f058d4
commit 4563faedcb

View file

@ -6,7 +6,6 @@ use Utopia\Storage\Device\Local;
use Utopia\Storage\Storage;
use Appwrite\ClamAV\Network;
use Appwrite\Event\Event;
use RuntimeException;
App::get('/v1/health')
->desc('Get HTTP')
@ -268,7 +267,7 @@ App::get('/v1/health/anti-virus')
'status' => (@$antiVirus->ping()) ? 'online' : 'offline',
'version' => @$antiVirus->version(),
]);
} catch( RuntimeException $e) {
} catch( \RuntimeException $e) {
$response->json([
'status' => 'offline',
'version' => '',