Update src/Appwrite/Platform/Workers/StatsUsageDump.php

Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
Damodar Lohani
2025-02-09 12:19:16 +05:45
committed by GitHub
co-authored by Christy Jacob
parent abd899186d
commit 55e30a0ef4
@@ -115,9 +115,6 @@ class StatsUsageDump extends Action
foreach ($payload['stats'] ?? [] as $stats) {
$project = new Document($stats['project'] ?? []);
/**
* End temp bug fallback
*/
$numberOfKeys = !empty($stats['keys']) ? count($stats['keys']) : 0;
$receivedAt = $stats['receivedAt'] ?? 'NONE';
if ($numberOfKeys === 0) {