Merge branch 'main' into 1.5.x-response-request-models
This commit is contained in:
commit
0f3a1c3762
1 changed files with 1 additions and 1 deletions
|
@ -69,6 +69,7 @@ class Usage extends Action
|
|||
getProjectDB: $getProjectDB
|
||||
);
|
||||
}
|
||||
|
||||
self::$stats[$projectId]['project'] = $project;
|
||||
foreach ($payload['metrics'] ?? [] as $metric) {
|
||||
if (!isset(self::$stats[$projectId]['keys'][$metric['key']])) {
|
||||
|
@ -79,7 +80,6 @@ class Usage extends Action
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* On Documents that tied by relations like functions>deployments>build || documents>collection>database || buckets>files.
|
||||
* When we remove a parent document we need to deduct his children aggregation from the project scope.
|
||||
|
|
Loading…
Reference in a new issue