diff --git a/app/controllers/api/storage.php b/app/controllers/api/storage.php index 0b9f030e18..9d67a57f80 100644 --- a/app/controllers/api/storage.php +++ b/app/controllers/api/storage.php @@ -1799,7 +1799,7 @@ App::get('/v1/storage/usage') $total = []; Authorization::skip(function () use ($dbForLogs, $days, $metrics, &$stats, &$total) { foreach ($metrics as $metric) { - ($result = $dbForLogs->getDocument('stats', md5('_inf_' . $metric)); + $result = $dbForLogs->getDocument('stats', md5('_inf_' . $metric)); $stats[$metric]['total'] = $result['value'] ?? 0; $limit = $days['limit'];