diff --git a/src/Squidex/Config/Domain/EventStoreModule.cs b/src/Squidex/Config/Domain/EventStoreModule.cs index 9ad79e6a7..ea282e94b 100644 --- a/src/Squidex/Config/Domain/EventStoreModule.cs +++ b/src/Squidex/Config/Domain/EventStoreModule.cs @@ -57,7 +57,7 @@ namespace Squidex.Config.Domain throw new ConfigurationException("Configure EventStore MongoDb configuration with 'eventStore:mongoDb:configuration'."); } - var database = Configuration.GetValue("eventStore:mongoDb:database."); + var database = Configuration.GetValue("eventStore:mongoDb:database"); if (string.IsNullOrWhiteSpace(database)) { @@ -87,14 +87,14 @@ namespace Squidex.Config.Domain throw new ConfigurationException("Configure GetEventStore EventStore configuration with 'eventStore:getEventStore:configuration'."); } - var projectionHost = Configuration.GetValue("eventStore:getEventStore:projectionHost."); + var projectionHost = Configuration.GetValue("eventStore:getEventStore:projectionHost"); if (string.IsNullOrWhiteSpace(projectionHost)) { throw new ConfigurationException("Configure GetEventStore EventStore projection host with 'eventStore:getEventStore:projectionHost'."); } - var prefix = Configuration.GetValue("eventStore:getEventStore:prefix."); + var prefix = Configuration.GetValue("eventStore:getEventStore:prefix"); var connection = EventStoreConnection.Create(configuration); diff --git a/src/Squidex/Config/Domain/StoreMongoDbModule.cs b/src/Squidex/Config/Domain/StoreMongoDbModule.cs index b50fdd328..2fb63f9d1 100644 --- a/src/Squidex/Config/Domain/StoreMongoDbModule.cs +++ b/src/Squidex/Config/Domain/StoreMongoDbModule.cs @@ -66,7 +66,7 @@ namespace Squidex.Config.Domain throw new ConfigurationException("Configure the Store MongoDb database with 'store:mongoDb:database'."); } - var contentDatabase = Configuration.GetValue("store:mongoDb:contentDatabase."); + var contentDatabase = Configuration.GetValue("store:mongoDb:contentDatabase"); if (string.IsNullOrWhiteSpace(contentDatabase)) {