mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Update src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/XList.php
This commit is contained in:
+1
-4
@@ -195,10 +195,7 @@ class XList extends Action
|
||||
$total = 0;
|
||||
}
|
||||
|
||||
$response
|
||||
->addHeader('X-Appwrite-Cache-Documents-Total', $totalDocumentsCacheHit ? 'hit' : 'miss')
|
||||
->addHeader('X-Appwrite-Cache-Documents', $documentsCacheHit ? 'hit' : 'miss')
|
||||
->addHeader('X-Appwrite-Cache-Documents-Ttl', $ttl);
|
||||
$response->addHeader('X-Appwrite-Cache', $documentsCacheHit ? 'hit' : 'miss')
|
||||
|
||||
} else {
|
||||
// has selects, allow relationship on documents
|
||||
|
||||
Reference in New Issue
Block a user