From 02fa2bdc0d6e98736f976cb8d6fd0ce026955e52 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Thu, 6 Mar 2025 06:19:22 +0000 Subject: [PATCH] fix typo --- app/controllers/api/storage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'];