File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/Services/Ordering/BookWorm.Ordering/Domain/EventHandlers Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 9
9
<!-- Microsoft Packages -->
10
10
<MsExtVersion >9.8.0</MsExtVersion >
11
11
<MsTestVersion >1.8.3</MsTestVersion >
12
- <ToolKitVersion >9.7.1 </ToolKitVersion >
12
+ <ToolKitVersion >9.7.2 </ToolKitVersion >
13
13
<!-- Observability & Health -->
14
14
<HealthChecksVersion >9.0.0</HealthChecksVersion >
15
15
</PropertyGroup >
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ ILogger<OrderEventHandler> logger
12
12
{
13
13
public async Task Handle ( OrderCancelledEvent notification , CancellationToken cancellationToken )
14
14
{
15
- OrderingTrace . LogOrderCancelled ( logger , notification . Order . Id , Status . New ) ;
15
+ OrderingTrace . LogOrderCancelled ( logger , notification . Order . Id , Status . Cancelled ) ;
16
16
await documentSession . GetAndUpdate < OrderSummary > (
17
17
Guid . CreateVersion7 ( ) ,
18
18
notification ,
@@ -22,7 +22,7 @@ await documentSession.GetAndUpdate<OrderSummary>(
22
22
23
23
public async Task Handle ( OrderCompletedEvent notification , CancellationToken cancellationToken )
24
24
{
25
- OrderingTrace . LogOrderCompleted ( logger , notification . Order . Id , Status . New ) ;
25
+ OrderingTrace . LogOrderCompleted ( logger , notification . Order . Id , Status . Completed ) ;
26
26
await documentSession . GetAndUpdate < OrderSummary > (
27
27
Guid . CreateVersion7 ( ) ,
28
28
notification ,
You can’t perform that action at this time.
0 commit comments