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,
}
}
ev.Visibility = historyVisibility
result = append(result, types.StreamEvent{
HeaderedEvent: &ev,
StreamPosition: streamPos,