Merge branch 'hotfix/2.0.1'

This commit is contained in:
Hans Mulder 2020-01-17 14:16:41 +01:00
commit ae2acc6614
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ namespace Tapeti.Default
{
await MiddlewareHelper.GoAsync(
bindingInfo.CleanupMiddleware,
async (handler, next) => await handler.Cleanup(context, ConsumeResult.Success, next),
async (handler, next) => await handler.Cleanup(context, consumeResult, next),
() => Task.CompletedTask);
}