Skip to content

Commit

Permalink
fix: pass the condition context to the trigger service
Browse files Browse the repository at this point in the history
  • Loading branch information
loicmathieu committed Jun 26, 2024
1 parent 970a25f commit cb6da81
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public Publisher<Execution> evaluate(ConditionContext conditionContext, TriggerC
.build();

return Flux.from(publisher(task, conditionContext.getRunContext()))
.map(record -> TriggerService.generateRealtimeExecution(this, context, record));
.map(record -> TriggerService.generateRealtimeExecution(this, conditionContext, context, record));
}

public Flux<Message> publisher(final Consume task,
Expand Down

0 comments on commit cb6da81

Please sign in to comment.