Skip to content

Commit

Permalink
ProductRuleEvaluatorTask: Fixed incompatible expression
Browse files Browse the repository at this point in the history
  • Loading branch information
markwoerdenweber committed Nov 5, 2024
1 parent 92fea72 commit c3be8d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public async Task Run(TaskExecutionContext ctx, CancellationToken cancelToken =
while (true)
{
// Do not touch searchResult.Hits. We only need the product identifiers.
var searchResult = await _productRuleProvider.SearchAsync([expression], ++pageIndex, pageSize);
var searchResult = await _productRuleProvider.SearchAsync(new[] { expression }, ++pageIndex, pageSize);
ruleSetProductIds.AddRange(searchResult.HitsEntityIds);

if (pageIndex >= (searchResult.TotalHitsCount / pageSize))
Expand Down

0 comments on commit c3be8d8

Please sign in to comment.