Skip to content

Commit 240db13

Browse files
authored
Fix filterable attribute example in README.md
1 parent cfd27e6 commit 240db13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ await index.search(
232232
To enable filtering, you must first add your attributes to the [`filterableAttributes` index setting](https://www.meilisearch.com/docs/reference/api/settings#filterable-attributes).
233233

234234
```js
235-
await index.updateAttributesForFaceting([
235+
await index.updateFilterableAttributes([
236236
'id',
237237
'genres'
238238
])

0 commit comments

Comments
 (0)