From a0d4797a7546184496c6627609a9d43089f8ebb2 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Tue, 24 Apr 2018 16:36:42 +0200 Subject: [PATCH] small formatting fix --- .../EventSourcing/GetEventStoreSubscription.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Squidex.Infrastructure.GetEventStore/EventSourcing/GetEventStoreSubscription.cs b/src/Squidex.Infrastructure.GetEventStore/EventSourcing/GetEventStoreSubscription.cs index b3cfed490..ced196675 100644 --- a/src/Squidex.Infrastructure.GetEventStore/EventSourcing/GetEventStoreSubscription.cs +++ b/src/Squidex.Infrastructure.GetEventStore/EventSourcing/GetEventStoreSubscription.cs @@ -30,12 +30,13 @@ namespace Squidex.Infrastructure.EventSourcing Guard.NotNull(subscriber, nameof(subscriber)); this.connection = connection; + this.position = projectionClient.ParsePositionOrNull(position); - this.subscriber = subscriber; var streamName = projectionClient.CreateProjectionAsync(streamFilter).Result; - subscription = SubscribeToStream(streamName); + this.subscriber = subscriber; + this.subscription = SubscribeToStream(streamName); } public Task StopAsync()