Reset array keys for list documents
This commit is contained in:
parent
96e1440ee6
commit
970ae8d0ad
1 changed files with 2 additions and 0 deletions
|
@ -2875,6 +2875,8 @@ App::get('/v1/databases/:databaseId/collections/:collectionId/documents')
|
|||
}
|
||||
}
|
||||
|
||||
$documents = \array_values($documents);
|
||||
|
||||
$response->dynamic(new Document([
|
||||
'total' => $total,
|
||||
'documents' => $documents,
|
||||
|
|
Loading…
Reference in a new issue