Skip to content

Commit 481e492

Browse files
bors[bot]curquiza
andauthored
Merge #138
138: Add attibutesToRetrieve r=curquiza a=curquiza Fix #137 Co-authored-by: Clementine Urquizar <[email protected]>
2 parents 199546b + ae950fb commit 481e492

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)