builds, stats

This commit is contained in:
fogelito committed 2022-07-11 18:12:41 +03:00
1 parent bc33356a57
commit 7e08575245
14 files changed
+160 -131

No files matched your search

+1 -1
View File
@@ -314,7 +314,7 @@ App::get('/v1/projects/:projectId/usage')
};
$stats[$metric][] = [
'value' => 0,
'date' => ($stats[$metric][$last]['date'] ?? \time()) - $diff, // time of last metric minus period
'date' => Database::dateAddSeconds(new DateTime($stats[$metric][$last]['date'] ?? null), -1 * $diff),
];
$backfill--;
}