Commit 0b1898b
committed
refactor: simplify stream ID handling in replayEvents
Always use replayedStreamId from replayEventsAfter instead of preferring
streamId from getStreamIdForEventId. Both should return the same value
for a correctly implemented event store, and replayEventsAfter is the
authoritative source since it's the required method.1 parent f08a3e8 commit 0b1898b
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
438 | | - | |
439 | | - | |
440 | | - | |
| 438 | + | |
441 | 439 | | |
442 | 440 | | |
443 | 441 | | |
444 | | - | |
| 442 | + | |
445 | 443 | | |
446 | 444 | | |
447 | 445 | | |
| |||
0 commit comments