Skip to content

Commit 7a967cb

Browse files
Merge #1210
1210: Fix getDocument code sample for documenation r=bidoubiwa a=mmachatschek # Pull Request ## What does this PR do? Fixes the code sample for `getDocument` on indexes ## PR checklist Please check if your PR fulfills the following requirements: - [ ] Does this PR fix an existing issue? - [x] Have you read the contributing guidelines? - [x] Have you made sure that the title is accurate and descriptive of the changes? Co-authored-by: Markus Machatschek <[email protected]>
2 parents cf24316 + 030b8f0 commit 7a967cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.code-samples.meilisearch.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ update_an_index_1: |-
1414
delete_an_index_1: |-
1515
client.deleteIndex('movies')
1616
get_one_document_1: |-
17-
client.getDocument(25684)
17+
client.index('movies').getDocument(25684)
1818
get_documents_1: |-
1919
client.index('movies').getDocuments({ limit: 2 })
2020
add_or_replace_documents_1: |-

0 commit comments

Comments
 (0)