mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix all usage ui
This commit is contained in:
1 parent
839284a832
commit
7224520fa8
25 files changed
+369
-189
No files matched your search
@@ -294,7 +294,7 @@ App::get('/v1/projects/:projectId/usage')
|
||||
new Query('period', Query::TYPE_EQUAL, [$period[$range]['period']]),
|
||||
new Query('metric', Query::TYPE_EQUAL, [$metric]),
|
||||
], $period[$range]['limit'], 0, ['time'], [Database::ORDER_DESC]);
|
||||
|
||||
|
||||
$stats[$metric] = [];
|
||||
foreach ($requestDocs as $requestDoc) {
|
||||
$stats[$metric][] = [
|
||||
@@ -303,7 +303,7 @@ App::get('/v1/projects/:projectId/usage')
|
||||
];
|
||||
}
|
||||
$stats[$metric] = array_reverse($stats[$metric]);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
$usage = new Document([
|
||||
|
||||
Reference in new issue
Block a user