Set historyVisibility in rowsToStreamEvents

This commit is contained in:
Till Faelligen 2022-07-18 18:19:44 +02:00
parent 99b696e775
commit bcff14adea

View file

@ -619,7 +619,7 @@ func rowsToStreamEvents(rows *sql.Rows) ([]types.StreamEvent, error) {
TransactionID: *txnID, TransactionID: *txnID,
} }
} }
ev.Visibility = historyVisibility
result = append(result, types.StreamEvent{ result = append(result, types.StreamEvent{
HeaderedEvent: &ev, HeaderedEvent: &ev,
StreamPosition: streamPos, StreamPosition: streamPos,