diff options
Diffstat (limited to 'src/Services/GrabberService.cs')
| -rw-r--r-- | src/Services/GrabberService.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Services/GrabberService.cs b/src/Services/GrabberService.cs index 4a92517..3974a9e 100644 --- a/src/Services/GrabberService.cs +++ b/src/Services/GrabberService.cs @@ -9,7 +9,7 @@ namespace I2R.LightNews.Services; public class GrabberService { private readonly ILogger<GrabberService> _logger; - private readonly MemoryCache _memoryCache; + private readonly IMemoryCache _memoryCache; private readonly HttpClient _http; private const string NrkPrefix = "nrkno"; private const int StaleTime = 1800; @@ -18,7 +18,7 @@ public class GrabberService HostPath = "AppData/__sitecache" }; - public GrabberService(ILogger<GrabberService> logger, HttpClient http, MemoryCache memoryCache) { + public GrabberService(ILogger<GrabberService> logger, HttpClient http, IMemoryCache memoryCache) { _logger = logger; _http = http; _memoryCache = memoryCache; |
