Skip to content

Commit

Permalink
remove encoding on attributes to retrieve in getObjects (#854)
Browse files Browse the repository at this point in the history
  • Loading branch information
morganleroi committed Feb 26, 2024
1 parent 067f774 commit a9437f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Algolia.Search/Clients/SearchIndex.cs
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ public BatchIndexingResponse
{
var dic = new Dictionary<string, string>
{
{nameof(attributesToRetrieve), WebUtility.UrlEncode(string.Join(",", attributesToRetrieve))}
{ nameof(attributesToRetrieve), string.Join(",", attributesToRetrieve.Select(x => x.Trim())) }
};

requestOptions = requestOptions.AddQueryParams(dic);
Expand Down

0 comments on commit a9437f0

Please sign in to comment.