diff options
| author | Bond-009 <bond.009@outlook.com> | 2019-03-11 23:13:01 +0100 |
|---|---|---|
| committer | Bond-009 <bond.009@outlook.com> | 2019-03-11 23:13:01 +0100 |
| commit | 0ff038f0a2c90ba0ad671eae1ac3c74a7602b855 (patch) | |
| tree | 333469f4349f36f62f9172858c5d7db277beddbc | |
| parent | f77af5f6e4cce85a5fc638e8da20cb0d56a899da (diff) | |
Fix nullref
| -rw-r--r-- | Emby.Server.Implementations/ApplicationHost.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs index ae5460674..d7696393d 100644 --- a/Emby.Server.Implementations/ApplicationHost.cs +++ b/Emby.Server.Implementations/ApplicationHost.cs @@ -700,6 +700,8 @@ namespace Emby.Server.Implementations serviceCollection.AddSingleton<IApplicationPaths>(ApplicationPaths); + serviceCollection.AddSingleton<IConfiguration>(_configuration); + serviceCollection.AddSingleton(JsonSerializer); serviceCollection.AddSingleton(LoggerFactory); |
