Skip to content

Commit 513cd8a

Browse files
committed
Fix swapped args in localized-attributes sample
In its current state this sample causes the server to throw an error, with this change it's inline with the main cURL sample: https://github.com/meilisearch/documentation/blob/b6e919a4d05a8bc085833181527d27b199647668/.code-samples.meilisearch.yaml#L1367
1 parent 85ad698 commit 513cd8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.code-samples.meilisearch.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -801,8 +801,8 @@ get_localized_attribute_settings_1: |-
801801
client.index('INDEX_NAME').getLocalizedAttributes()
802802
update_localized_attribute_settings_1: |-
803803
client.index('INDEX_NAME').updateLocalizedAttributes([
804-
{ attributePatterns: ['jpn'], locales: ['*_ja'] },
805-
];)
804+
{ attributePatterns: ['*_ja'], locales: ['jpn'] },
805+
])
806806
reset_localized_attribute_settings_1: |-
807807
client.index('INDEX_NAME').resetLocalizedAttributes()
808808
get_facet_search_settings_1: |-

0 commit comments

Comments
 (0)