enabled stats
This commit is contained in:
parent
986c8cdc70
commit
32fea90efb
1 changed files with 4 additions and 4 deletions
|
@ -198,12 +198,12 @@ $utopia->get('/v1/projects/:projectId/usage')
|
||||||
|
|
||||||
$response->json([
|
$response->json([
|
||||||
'requests' => [
|
'requests' => [
|
||||||
//'data' => $requests,
|
'data' => $requests,
|
||||||
//'total' => array_sum(array_map(function($item) {return $item['value'];}, $requests)),
|
'total' => array_sum(array_map(function($item) {return $item['value'];}, $requests)),
|
||||||
],
|
],
|
||||||
'network' => [
|
'network' => [
|
||||||
//'data' => $network,
|
'data' => $network,
|
||||||
//'total' => array_sum(array_map(function($item) {return $item['value'];}, $network)),
|
'total' => array_sum(array_map(function($item) {return $item['value'];}, $network)),
|
||||||
],
|
],
|
||||||
'collections' => [
|
'collections' => [
|
||||||
'data' => $collections,
|
'data' => $collections,
|
||||||
|
|
Loading…
Reference in a new issue