mirror of
https://github.com/Readarr/Readarr
synced 2026-05-08 12:42:51 +02:00
fixed RootFolderChecks
This commit is contained in:
parent
604c354284
commit
b3bdaeeffa
1 changed files with 2 additions and 2 deletions
|
|
@ -29,8 +29,8 @@ public RootFolderCheck(IAuthorService authorService, IImportListFactory importLi
|
||||||
|
|
||||||
public override HealthCheck Check()
|
public override HealthCheck Check()
|
||||||
{
|
{
|
||||||
var rootFolders = _authorService.GetAllAuthors()
|
var rootFolders = _authorService.AllAuthorPaths()
|
||||||
.Select(s => _rootFolderService.GetBestRootFolderPath(s.Path))
|
.Select(s => _rootFolderService.GetBestRootFolderPath(s.Value))
|
||||||
.Distinct();
|
.Distinct();
|
||||||
|
|
||||||
var missingRootFolders = rootFolders.Where(s => !_diskProvider.FolderExists(s))
|
var missingRootFolders = rootFolders.Where(s => !_diskProvider.FolderExists(s))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue