Skip to content

Commit

Permalink
Merge #1584
Browse files Browse the repository at this point in the history
1584: Fix filterable attribute example in README.md r=mdubus a=curquiza

Fixes #1583 

Co-authored-by: Clémentine U. - curqui <clementine@meilisearch.com>
  • Loading branch information
meili-bors[bot] and curquiza authored Sep 20, 2023
2 parents cfd27e6 + 240db13 commit d5c2bde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ await index.search(
To enable filtering, you must first add your attributes to the [`filterableAttributes` index setting](https://www.meilisearch.com/docs/reference/api/settings#filterable-attributes).

```js
await index.updateAttributesForFaceting([
await index.updateFilterableAttributes([
'id',
'genres'
])
Expand Down

0 comments on commit d5c2bde

Please sign in to comment.