1
0
Fork 0
mirror of synced 2024-10-05 12:43:13 +13:00
This commit is contained in:
Jake Barnby 2023-03-27 15:56:11 +13:00
parent 275c6bb3a0
commit 0465fb2268
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C

View file

@ -2768,10 +2768,10 @@ App::get('/v1/databases/:databaseId/collections/:collectionId/documents')
} }
}; };
foreach ($documents as $document) { foreach ($documents as $document) {
$document->setAttribute('$collectionId', $collectionId); $document->setAttribute('$collectionId', $collectionId);
$resetIds($document); $resetIds($document);
} }
$response->dynamic(new Document([ $response->dynamic(new Document([
'total' => $total, 'total' => $total,