Browse Source

Fix compilation error

Mark Monteiro 5 years ago
parent
commit
a4bf645ba5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Emby.Server.Implementations/ApplicationHost.cs

+ 1 - 1
Emby.Server.Implementations/ApplicationHost.cs

@@ -673,7 +673,7 @@ namespace Emby.Server.Implementations
             serviceCollection.AddSingleton(JsonSerializer);
             serviceCollection.AddSingleton(JsonSerializer);
 
 
             // TODO: Support for injecting ILogger should be deprecated in favour of ILogger<T> and this removed
             // TODO: Support for injecting ILogger should be deprecated in favour of ILogger<T> and this removed
-            serviceCollection.AddSingleton<ILogger>(_logger);
+            serviceCollection.AddSingleton<ILogger>(Logger);
 
 
             serviceCollection.AddSingleton(FileSystemManager);
             serviceCollection.AddSingleton(FileSystemManager);
             serviceCollection.AddSingleton<TvDbClientManager>();
             serviceCollection.AddSingleton<TvDbClientManager>();