Commit abd2ca4
Merge #1145
1145: Fix getting started documentation of autocomplete client r=bidoubiwa a=bidoubiwa
The autocomplete getting started guide incorrectly instantiated the autocomplete client.
It should be
```
const searchClient = meilisearchAutocompleteClient({
url: 'https://ms-adf78ae33284-106.lon.meilisearch.io', // Host
apiKey: 'a63da4928426f12639e19d62886f621130f3fa9ff3c7534c5d179f0f51c4f303' // API key
})
```
and not
```
const searchClient = meilisearchAutocompleteClient(
'https://ms-adf78ae33284-106.lon.meilisearch.io', // Host
'a63da4928426f12639e19d62886f621130f3fa9ff3c7534c5d179f0f51c4f303' // API key
)
```
Co-authored-by: Charlotte Vermandel <[email protected]>File tree
2 files changed
+9
-5
lines changed- .changeset
- packages/autocomplete-client
2 files changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
114 | 113 | | |
115 | 114 | | |
116 | 115 | | |
| |||
0 commit comments