Skip to content

Commit

Permalink
Reversing regression error in FetchForWriting() with async
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremydmiller committed Mar 25, 2024
1 parent 3b30d45 commit 4effb9b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Marten/Events/Fetching/FetchAsyncPlan.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,6 @@ public async Task<IEventStream<TDoc>> FetchForWriting(DocumentSessionBase sessio
{
version = await reader.GetFieldValueAsync<long>(0, cancellation).ConfigureAwait(false);
}
else
{
return null;
}

// Fetch the existing aggregate -- if any!
await reader.NextResultAsync(cancellation).ConfigureAwait(false);
Expand Down

0 comments on commit 4effb9b

Please sign in to comment.