Skip to content

Commit

Permalink
fix code smell
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegoO committed Nov 1, 2023
1 parent da3c1ff commit cf7c71b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ private async Task<List<string>> GetVariationIds(string productId)
searchCriteria.ResponseGroup = ItemResponseGroup.ItemInfo.ToString();
searchCriteria.Take = _batchSize;

await foreach (var searchResult in _productsSearchService.SearchBatches(searchCriteria))
await foreach (var searchResult in _productsSearchService.SearchBatchesAsync(searchCriteria))
{
variationIds.AddRange(searchResult.Results.Select(x => x.Id));
}
Expand Down

0 comments on commit cf7c71b

Please sign in to comment.