1
0
Fork 0
mirror of synced 2024-10-02 02:07:04 +13:00

chore: run formatter

This commit is contained in:
Torsten Dittmann 2023-12-11 16:33:15 +01:00
parent ba75f69969
commit 1794b1395a

View file

@ -111,7 +111,7 @@ App::get('/v1/project/usage')
}
}
$executionsBreakdown = array_map(function($function) use ($dbForProject) {
$executionsBreakdown = array_map(function ($function) use ($dbForProject) {
$id = $function->getId();
$name = $function->getAttribute('name');
$metric = str_replace('{bucketInternalId}', $function->getInternalId(), METRIC_FUNCTION_ID_EXECUTIONS);
@ -127,7 +127,7 @@ App::get('/v1/project/usage')
];
}, $dbForProject->find('functions'));
$bucketsBreakdown = array_map(function($bucket) use ($dbForProject) {
$bucketsBreakdown = array_map(function ($bucket) use ($dbForProject) {
$id = $bucket->getId();
$name = $bucket->getAttribute('name');
$metric = str_replace('{bucketInternalId}', $bucket->getInternalId(), METRIC_BUCKET_ID_FILES_STORAGE);