diff --git a/Tapeti/Default/ControllerMethodBinding.cs b/Tapeti/Default/ControllerMethodBinding.cs index a0e5bfa..dae8a26 100644 --- a/Tapeti/Default/ControllerMethodBinding.cs +++ b/Tapeti/Default/ControllerMethodBinding.cs @@ -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); }