diff --git a/app/controllers/api/health.php b/app/controllers/api/health.php index 5ad1f5b788..60685024f1 100644 --- a/app/controllers/api/health.php +++ b/app/controllers/api/health.php @@ -51,7 +51,7 @@ $utopia->get('/v1/health/cache') ); $utopia->get('/v1/health/time') - ->desc('Check Webhooks Health') + ->desc('Check Time Health') ->label('scope', 'health.read') ->label('sdk.platform', [APP_PLATFORM_SERVER]) ->label('sdk.namespace', 'health') @@ -98,7 +98,7 @@ $utopia->get('/v1/health/time') ); $utopia->get('/v1/health/webhooks') - ->desc('Check Time Health') + ->desc('Check Webhooks Health') ->label('scope', 'health.read') ->label('sdk.platform', [APP_PLATFORM_SERVER]) ->label('sdk.namespace', 'health') diff --git a/app/controllers/api/storage.php b/app/controllers/api/storage.php index f8f8221f65..448eb93511 100644 --- a/app/controllers/api/storage.php +++ b/app/controllers/api/storage.php @@ -184,7 +184,6 @@ $utopia->post('/v1/storage/files') /* * Models */ - $list = []; $device = Storage::getDevice('local'); if (!$upload->isValid($file['tmp_name'])) {