aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Devices/DeviceRepository.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Server.Implementations/Devices/DeviceRepository.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Devices/DeviceRepository.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/MediaBrowser.Server.Implementations/Devices/DeviceRepository.cs b/MediaBrowser.Server.Implementations/Devices/DeviceRepository.cs
index f10244a2c..14a877e78 100644
--- a/MediaBrowser.Server.Implementations/Devices/DeviceRepository.cs
+++ b/MediaBrowser.Server.Implementations/Devices/DeviceRepository.cs
@@ -20,14 +20,15 @@ namespace MediaBrowser.Server.Implementations.Devices
private readonly IApplicationPaths _appPaths;
private readonly IJsonSerializer _json;
- private ILogger _logger;
+ private readonly ILogger _logger;
private ConcurrentBag<DeviceInfo> _devices;
- public DeviceRepository(IApplicationPaths appPaths, IJsonSerializer json)
+ public DeviceRepository(IApplicationPaths appPaths, IJsonSerializer json, ILogger logger)
{
_appPaths = appPaths;
_json = json;
+ _logger = logger;
}
private string GetDevicesPath()