From 78362ecc1ec11b3ebe3e97d961f052c56b57023c Mon Sep 17 00:00:00 2001 From: Sebastian Stehle Date: Tue, 3 Oct 2017 12:51:10 +0200 Subject: [PATCH] Update PollingSubscription.cs --- .../CQRS/Events/PollingSubscription.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Squidex.Infrastructure.MongoDb/CQRS/Events/PollingSubscription.cs b/src/Squidex.Infrastructure.MongoDb/CQRS/Events/PollingSubscription.cs index 46f889d5f..ca95e20de 100644 --- a/src/Squidex.Infrastructure.MongoDb/CQRS/Events/PollingSubscription.cs +++ b/src/Squidex.Infrastructure.MongoDb/CQRS/Events/PollingSubscription.cs @@ -124,7 +124,7 @@ namespace Squidex.Infrastructure.CQRS.Events { try { - await store.GetEventsAsync(e => DispatchAsync(e), disposeToken.Token, streamFilter, position); + await store.GetEventsAsync(DispatchAsync, disposeToken.Token, streamFilter, position); await DispatchAsync(new StopPoll()); }