File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,16 +17,16 @@ and Id =
1717module append =
1818 let appendNewMessage : IStreamStore -> StreamDetails -> MessageDetails -> Async < AppendResult > =
1919 fun store streamDetails messageDetails ->
20- let id : Id -> System.Guid =
20+ let toId : Id -> System.Guid =
2121 function
2222 | Custom guid -> guid
2323 | Auto -> System.Guid.NewGuid()
2424
2525 let createMessage : MessageDetails -> NewStreamMessage =
2626 fun msg ->
2727 match msg.jsonMetadata with
28- | " " -> NewStreamMessage( id msg.id, msg.type_, msg.jsonData)
29- | metadata -> NewStreamMessage( id msg.id, msg.type_, msg.jsonData, metadata)
28+ | " " -> NewStreamMessage( toId msg.id, msg.type_, msg.jsonData)
29+ | metadata -> NewStreamMessage( toId msg.id, msg.type_, msg.jsonData, metadata)
3030
3131 let toVersion : Version -> int =
3232 function
You can’t perform that action at this time.
0 commit comments