Paul Astbury-Thomas
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
4 additions and
4 deletions
CHANGELOG.md
backend/src/Squidex/Areas/Api/Controllers/Apps/AppSettingsController.cs
backend/src/Squidex/Config/Domain/EventSourcingServices.cs
@ -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 ).
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-3 2
## [6.7.0] - 2022-04-23
### Fixed
### Fixed
@ -30,7 +30,7 @@ namespace Squidex.Areas.Api.Controllers.Apps
/// </summary>
/// </summary>
/// <param name="app">The name of the app to get the settings for.</param>
/// <param name="app">The name of the app to get the settings for.</param>
/// <returns>
/// <returns>
/// 200 => App settingsd returned.
/// 200 => App settings returned.
/// 404 => App not found.
/// 404 => App not found.
/// </returns>
/// </returns>
[HttpGet]
[HttpGet]
@ -30,9 +30,9 @@ namespace Squidex.Config.Domain
services . AddSingletonAs ( c = >
services . AddSingletonAs ( c = >
{
{
var mongoClient = Singletons < IMongoClient > . GetOrAdd ( mongoConfiguration , s = > new MongoClient ( s ) ) ;
var mongoClient = Singletons < IMongoClient > . GetOrAdd ( mongoConfiguration , s = > new MongoClient ( s ) ) ;
var mongDatabase = mongoClient . GetDatabase ( mongoDatabaseName ) ;
var mongo Database = mongoClient . GetDatabase ( mongoDatabaseName ) ;
return new MongoEventStore ( mongDatabase , c . GetRequiredService < IEventNotifier > ( ) ) ;
return new MongoEventStore ( mongo Database , c . GetRequiredService < IEventNotifier > ( ) ) ;
} )
} )
. As < IEventStore > ( ) ;
. As < IEventStore > ( ) ;
} ,
} ,