From b3bdaeeffa588e00e71d0c9eaff724636d18d2b9 Mon Sep 17 00:00:00 2001 From: Robin Dadswell Date: Sun, 17 Jan 2021 22:15:57 +0000 Subject: [PATCH] fixed RootFolderChecks --- src/NzbDrone.Core/HealthCheck/Checks/RootFolderCheck.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/HealthCheck/Checks/RootFolderCheck.cs b/src/NzbDrone.Core/HealthCheck/Checks/RootFolderCheck.cs index ce860ed56..2bb9d3a87 100644 --- a/src/NzbDrone.Core/HealthCheck/Checks/RootFolderCheck.cs +++ b/src/NzbDrone.Core/HealthCheck/Checks/RootFolderCheck.cs @@ -29,8 +29,8 @@ public RootFolderCheck(IAuthorService authorService, IImportListFactory importLi public override HealthCheck Check() { - var rootFolders = _authorService.GetAllAuthors() - .Select(s => _rootFolderService.GetBestRootFolderPath(s.Path)) + var rootFolders = _authorService.AllAuthorPaths() + .Select(s => _rootFolderService.GetBestRootFolderPath(s.Value)) .Distinct(); var missingRootFolders = rootFolders.Where(s => !_diskProvider.FolderExists(s))