Skip to content

Commit 9e8cb3f

Browse files
authored
Merge branch 'main' into fix/specs-ingestion-custom-timeout-endpoint
2 parents 6ef03e3 + 880dc38 commit 9e8cb3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clients/algoliasearch-client-ruby/lib/algolia/api/search_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3201,7 +3201,7 @@ def wait_for_api_key(
32013201
# @param request_options [Hash] the requestOptions to send along with the query, they will be forwarded to the `browse` method.
32023202
# @param block [Proc] the block to execute on each object of the index.
32033203
def browse_objects(index_name, browse_params = Search::BrowseParamsObject.new, request_options = {}, &block)
3204-
browse_params[:hits_per_page] = browse_params[:hits_per_page] || 1000
3204+
browse_params.hits_per_page ||= 1000
32053205

32063206
hits = []
32073207
loop do

0 commit comments

Comments
 (0)