From 761a4bb0c7a0deec5d5bc29826a77f50aefa1a76 Mon Sep 17 00:00:00 2001 From: fogelito Date: Tue, 13 Jan 2026 16:50:31 +0200 Subject: [PATCH] more select queries --- src/Appwrite/Platform/Modules/Storage/Http/Buckets/Get.php | 2 +- src/Appwrite/Platform/Modules/Storage/Http/Buckets/XList.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Get.php b/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Get.php index 4e75de27c8..268aaa9448 100644 --- a/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Get.php +++ b/src/Appwrite/Platform/Modules/Storage/Http/Buckets/Get.php @@ -84,7 +84,7 @@ class Get extends Action $storageStats = $authorization->skip(fn () => $dbForLogs->getDocument( 'stats', $statsDocId, - [Query::select(['value'])] + [Query::select('value')] )); $totalSize = $storageStats->getAttribute('value', 0); diff --git a/src/Appwrite/Platform/Modules/Storage/Http/Buckets/XList.php b/src/Appwrite/Platform/Modules/Storage/Http/Buckets/XList.php index 601d9b5321..232870cad1 100644 --- a/src/Appwrite/Platform/Modules/Storage/Http/Buckets/XList.php +++ b/src/Appwrite/Platform/Modules/Storage/Http/Buckets/XList.php @@ -144,7 +144,7 @@ class XList extends Action return $dbForLogs->find('stats', [ Query::equal('$id', $statsIds), - Query::select(['value']), + Query::select('value'), ]); });