Skip to content

Commit ae950fb

Browse files
committed
Add attibutesToRetrieve
1 parent 199546b commit ae950fb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export default function instantMeiliSearch(hostUrl, apiKey, options = {}) {
1818
facets,
1919
facetFilters,
2020
attributesToSnippet,
21+
attributesToRetrieve,
2122
filters,
2223
} = params
2324
const searchInput = {
@@ -26,6 +27,7 @@ export default function instantMeiliSearch(hostUrl, apiKey, options = {}) {
2627
facetFilters,
2728
attributesToHighlight: this.attributesToHighlight,
2829
attributesToCrop: attributesToSnippet,
30+
attributesToRetrieve,
2931
filters,
3032
limit: this.placeholderSearch === false && query === '' ? 0 : limit,
3133
}

0 commit comments

Comments
 (0)