mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
Run Linter
This commit is contained in:
parent
5c4a92a6d9
commit
70be40468a
1 changed files with 6 additions and 7 deletions
|
|
@ -8,7 +8,6 @@ use Utopia\Database\Database;
|
||||||
use Utopia\Database\DateTime;
|
use Utopia\Database\DateTime;
|
||||||
use Utopia\Database\Document;
|
use Utopia\Database\Document;
|
||||||
use Utopia\Database\Exception\Duplicate;
|
use Utopia\Database\Exception\Duplicate;
|
||||||
use Utopia\Database\Query;
|
|
||||||
use Utopia\Platform\Action;
|
use Utopia\Platform\Action;
|
||||||
use Utopia\Queue\Message;
|
use Utopia\Queue\Message;
|
||||||
use Utopia\System\System;
|
use Utopia\System\System;
|
||||||
|
|
@ -188,7 +187,7 @@ class UsageDump extends Action
|
||||||
$projectKey = 'db_storage';
|
$projectKey = 'db_storage';
|
||||||
$updateMetric($dbForProject, $diff, $projectKey, $period, $time);
|
$updateMetric($dbForProject, $diff, $projectKey, $period, $time);
|
||||||
break;
|
break;
|
||||||
// Database Level
|
// Database Level
|
||||||
case 2:
|
case 2:
|
||||||
$databaseInternalId = $data[0];
|
$databaseInternalId = $data[0];
|
||||||
$collections = $dbForProject->find('database_' . $databaseInternalId);
|
$collections = $dbForProject->find('database_' . $databaseInternalId);
|
||||||
|
|
@ -207,7 +206,7 @@ class UsageDump extends Action
|
||||||
$projectKey = 'db_storage';
|
$projectKey = 'db_storage';
|
||||||
$updateMetric($dbForProject, $diff, $projectKey, $period, $time);
|
$updateMetric($dbForProject, $diff, $projectKey, $period, $time);
|
||||||
break;
|
break;
|
||||||
// Project Level
|
// Project Level
|
||||||
case 1:
|
case 1:
|
||||||
// Get all project databases
|
// Get all project databases
|
||||||
$databases = $dbForProject->find('database');
|
$databases = $dbForProject->find('database');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue