Skip to content

Commit

Permalink
fix(specs): use the read transporter for browse (generated)
Browse files Browse the repository at this point in the history
  • Loading branch information
algolia-bot committed Oct 10, 2024
1 parent 1ab6046 commit c3e3e1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions algoliasearch/Clients/SearchClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2199,6 +2199,7 @@ public async Task<BrowseResponse<T>> BrowseAsync<T>(string indexName, BrowsePara
requestOptions.PathParameters.Add("indexName", QueryStringHelper.ParameterToString(indexName));

requestOptions.Data = browseParams;
requestOptions.UseReadTransporter = true;
return await _transport.ExecuteRequestAsync<BrowseResponse<T>>(new HttpMethod("POST"), "/1/indexes/{indexName}/browse", requestOptions, cancellationToken).ConfigureAwait(false);
}

Expand Down

0 comments on commit c3e3e1a

Please sign in to comment.