1
0
Fork 0
mirror of synced 2024-10-03 19:53:33 +13:00

Reset array keys for list documents

This commit is contained in:
Jake Barnby 2023-03-29 14:38:43 +13:00
parent 96e1440ee6
commit 970ae8d0ad
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C

View file

@ -2875,6 +2875,8 @@ App::get('/v1/databases/:databaseId/collections/:collectionId/documents')
}
}
$documents = \array_values($documents);
$response->dynamic(new Document([
'total' => $total,
'documents' => $documents,