Skip to content

Commit

Permalink
Merge #1210
Browse files Browse the repository at this point in the history
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 <mmachatschek@users.noreply.github.com>
  • Loading branch information
meili-bors[bot] and mmachatschek committed Apr 28, 2022
2 parents cf24316 + 030b8f0 commit 7a967cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .code-samples.meilisearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ update_an_index_1: |-
delete_an_index_1: |-
client.deleteIndex('movies')
get_one_document_1: |-
client.getDocument(25684)
client.index('movies').getDocument(25684)
get_documents_1: |-
client.index('movies').getDocuments({ limit: 2 })
add_or_replace_documents_1: |-
Expand Down

0 comments on commit 7a967cb

Please sign in to comment.