Skip to content

Commit

Permalink
#1844 fix wrong "reduction" when calculating retrieving `at-historica…
Browse files Browse the repository at this point in the history
…l-revision`

Signed-off-by: Thomas Jäckle <thomas.jaeckle@beyonnex.io>
  • Loading branch information
thjaeckle committed Dec 18, 2023
1 parent 4c67992 commit 2d66072
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -484,7 +484,7 @@ private void historicalRetrieveHandleLoadSnapshotResult(final C command,
}
})
.reduce((ewe1, ewe2) -> new EntityWithEvent(
eventStrategy.handle(ewe2.event, ewe2.entity, ewe2.revision),
eventStrategy.handle(ewe2.event, ewe1.entity, ewe2.revision),
ewe2.event
))
.runWith(Sink.foreach(entityWithEvent ->
Expand Down

0 comments on commit 2d66072

Please sign in to comment.