Skip to content

Commit 9be2a86

Browse files
algolia-botmillotp
andcommitted
fix(clients): forward requestOptions to searchForHits (generated)
algolia/api-clients-automation#5473 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent 96fd99f commit 9be2a86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

algoliasearch/src/main/java/com/algolia/api/SearchClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6674,7 +6674,7 @@ public <T> CompletableFuture<List<SearchResponse<T>>> searchForHitsAsync(
66746674
) {
66756675
final List<SearchQuery> searchQueries = new ArrayList<>(requests); // Upcast the list
66766676
final SearchMethodParams params = new SearchMethodParams().setRequests(searchQueries).setStrategy(strategy);
6677-
return searchAsync(params, innerType).thenApply(searchResponses ->
6677+
return searchAsync(params, innerType, requestOptions).thenApply(searchResponses ->
66786678
searchResponses
66796679
.getResults()
66806680
.stream()

0 commit comments

Comments
 (0)