1
0
Fork 0
mirror of synced 2024-07-05 06:31:08 +12:00

Merge pull request #7319 from appwrite/update-console

chore: update console
This commit is contained in:
Christy Jacob 2023-12-22 10:30:18 +01:00 committed by GitHub
commit 0ae5712bb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 80 additions and 77 deletions

2
.gitmodules vendored
View file

@ -1,4 +1,4 @@
[submodule "app/console"]
path = app/console
url = https://github.com/appwrite/console
branch = 3.3.9
branch = 3.3.10

@ -1 +1 @@
Subproject commit c83f5e4ea0e98219333aa6027289058de0ff6827
Subproject commit 167d0e2d49d8a40e67ba7b774736c5a4447510bf

View file

@ -112,7 +112,9 @@ class CalcTierStats extends Action
Console::error('[Error] Line: ' . $th->getLine());
}
}
$queries = [];
if (!empty($after)) {
Console::info("Iterating remaining projects after project with ID {$after}");
$project = $dbForConsole->getDocument('projects', $after);
@ -120,6 +122,7 @@ class CalcTierStats extends Action
} else {
Console::info("Iterating all projects");
}
$this->foreachDocument($dbForConsole, 'projects', $queries, function (Document $project) use ($getProjectDB, $dbForConsole, $csv) {
$projectId = $project->getId();
console::log("Project " . $projectId);