Skip to content

Commit 16e10f2

Browse files
Update code samples [skip ci]
1 parent f9d9c80 commit 16e10f2

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

snippets/samples/code_samples_getting_started_add_documents_md.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Add the following code to the `<dependencies>` section of your project:
112112
<dependency>
113113
<groupId>com.meilisearch.sdk</groupId>
114114
<artifactId>meilisearch-java</artifactId>
115-
<version>0.14.3</version>
115+
<version>0.14.4</version>
116116
<type>pom</type>
117117
</dependency>
118118
@@ -121,7 +121,7 @@ Add the following code to the `<dependencies>` section of your project:
121121
**Gradle**
122122
Add the following line to the `dependencies` section of your `build.gradle`:
123123
124-
implementation 'com.meilisearch.sdk:meilisearch-java:0.14.3'
124+
implementation 'com.meilisearch.sdk:meilisearch-java:0.14.4'
125125
126126
127127

snippets/samples/code_samples_update_localized_attribute_settings_1.mdx

+3-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@
44
curl \
55
-X PUT 'MEILISEARCH_URL/indexes/INDEX_NAME/settings/localized-attributes' \
66
-H 'Content-Type: application/json' \
7-
--data-binary '{
8-
"localizedAttributes": [
9-
{"locales": ["jpn"], "attributePatterns": ["*_ja"]}
10-
]
11-
}'
7+
--data-binary '[
8+
{"locales": ["jpn"], "attributePatterns": ["*_ja"]}
9+
]'
1210
```
1311

1412
```javascript JS

0 commit comments

Comments
 (0)