Skip to content

Commit

Permalink
Fix demo console output.
Browse files Browse the repository at this point in the history
Console output demonstrating before and after commit was mixed up.
  • Loading branch information
Chips100 authored and jeremydmiller committed Nov 3, 2024
1 parent 962df42 commit 48d927e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/events/subscriptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -575,13 +575,13 @@ public class ErrorHandlingSubscription: SubscriptionBase
{
public Task AfterCommitAsync(IDocumentSession session, IChangeSet commit, CancellationToken token)
{
Console.WriteLine("Marten is about to make a commit for any changes");
Console.WriteLine("Marten just made a commit for any changes");
return Task.CompletedTask;
}

public Task BeforeCommitAsync(IDocumentSession session, IChangeSet commit, CancellationToken token)
{
Console.WriteLine("Marten just made a commit for any changes");
Console.WriteLine("Marten is about to make a commit for any changes");
return Task.CompletedTask;
}
}
Expand Down

0 comments on commit 48d927e

Please sign in to comment.