From 48d927ee09445873f192981e679d000e0159e6a2 Mon Sep 17 00:00:00 2001 From: Dennis Stetter Date: Wed, 30 Oct 2024 08:19:09 +0100 Subject: [PATCH] Fix demo console output. Console output demonstrating before and after commit was mixed up. --- docs/events/subscriptions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/events/subscriptions.md b/docs/events/subscriptions.md index 0334b38c60..4f9ca40344 100644 --- a/docs/events/subscriptions.md +++ b/docs/events/subscriptions.md @@ -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; } }