Browse Source

Fixing a few minor typos (#889)

pull/892/head
Paul Astbury-Thomas 4 years ago
committed by GitHub
parent
commit
35ceb0acc4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      CHANGELOG.md
  2. 2
      backend/src/Squidex/Areas/Api/Controllers/Apps/AppSettingsController.cs
  3. 4
      backend/src/Squidex/Config/Domain/EventSourcingServices.cs

2
CHANGELOG.md

@ -3,7 +3,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [6.7.0] - 2022-04-32
## [6.7.0] - 2022-04-23
### Fixed

2
backend/src/Squidex/Areas/Api/Controllers/Apps/AppSettingsController.cs

@ -30,7 +30,7 @@ namespace Squidex.Areas.Api.Controllers.Apps
/// </summary>
/// <param name="app">The name of the app to get the settings for.</param>
/// <returns>
/// 200 => App settingsd returned.
/// 200 => App settings returned.
/// 404 => App not found.
/// </returns>
[HttpGet]

4
backend/src/Squidex/Config/Domain/EventSourcingServices.cs

@ -30,9 +30,9 @@ namespace Squidex.Config.Domain
services.AddSingletonAs(c =>
{
var mongoClient = Singletons<IMongoClient>.GetOrAdd(mongoConfiguration, s => new MongoClient(s));
var mongDatabase = mongoClient.GetDatabase(mongoDatabaseName);
var mongoDatabase = mongoClient.GetDatabase(mongoDatabaseName);
return new MongoEventStore(mongDatabase, c.GetRequiredService<IEventNotifier>());
return new MongoEventStore(mongoDatabase, c.GetRequiredService<IEventNotifier>());
})
.As<IEventStore>();
},

Loading…
Cancel
Save