Skip to content

Commit 09cb1cf

Browse files
bors[bot]bidoubiwa
andauthored
Merge #294
294: Fix update index code sample r=bidoubiwa a=bidoubiwa Function usage was wrong, this PR fixes it Co-authored-by: Charlotte Vermandel <[email protected]>
2 parents 8c1e336 + 0c86ffb commit 09cb1cf

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
@@ -10,7 +10,7 @@ list_all_indexes_1: |-
1010
create_an_index_1: |-
1111
client.create_index("movies", Some("id")).await.unwrap();
1212
update_an_index_1: |-
13-
client.index("movies").update("movie_review_id", Some("id")).await.unwrap();
13+
client.index("movies").update("movie_review_id").await.unwrap();
1414
delete_an_index_1: |-
1515
client.index("movies").delete().await.unwrap();
1616
get_one_document_1: |-

0 commit comments

Comments
 (0)