Browse Source

Dot fix

pull/141/head
Sebastian Stehle 9 years ago
parent
commit
66c1da9360
  1. 6
      src/Squidex/Config/Domain/EventStoreModule.cs
  2. 2
      src/Squidex/Config/Domain/StoreMongoDbModule.cs

6
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<string>("eventStore:mongoDb:database.");
var database = Configuration.GetValue<string>("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<string>("eventStore:getEventStore:projectionHost.");
var projectionHost = Configuration.GetValue<string>("eventStore:getEventStore:projectionHost");
if (string.IsNullOrWhiteSpace(projectionHost))
{
throw new ConfigurationException("Configure GetEventStore EventStore projection host with 'eventStore:getEventStore:projectionHost'.");
}
var prefix = Configuration.GetValue<string>("eventStore:getEventStore:prefix.");
var prefix = Configuration.GetValue<string>("eventStore:getEventStore:prefix");
var connection = EventStoreConnection.Create(configuration);

2
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<string>("store:mongoDb:contentDatabase.");
var contentDatabase = Configuration.GetValue<string>("store:mongoDb:contentDatabase");
if (string.IsNullOrWhiteSpace(contentDatabase))
{

Loading…
Cancel
Save