From 4c40284af24b34e7f094622ce538601c238fe0ce Mon Sep 17 00:00:00 2001 From: Joseph Milazzo Date: Fri, 8 Jan 2021 08:25:07 -0600 Subject: [PATCH] Changed ScanLibrary to not use optional param due to build issue on Github. --- API/Interfaces/IDirectoryService.cs | 2 +- API/Services/DirectoryService.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/API/Interfaces/IDirectoryService.cs b/API/Interfaces/IDirectoryService.cs index 8d1240172..f8e0f7100 100644 --- a/API/Interfaces/IDirectoryService.cs +++ b/API/Interfaces/IDirectoryService.cs @@ -6,6 +6,6 @@ namespace API.Interfaces { IEnumerable ListDirectory(string rootPath); - void ScanLibrary(int libraryId, bool forceUpdate = false); + void ScanLibrary(int libraryId, bool forceUpdate); } } \ No newline at end of file diff --git a/API/Services/DirectoryService.cs b/API/Services/DirectoryService.cs index c599be2f4..3adfae100 100644 --- a/API/Services/DirectoryService.cs +++ b/API/Services/DirectoryService.cs @@ -187,7 +187,7 @@ namespace API.Services return volumes; } - public void ScanLibrary(int libraryId, bool forceUpdate = false) + public void ScanLibrary(int libraryId, bool forceUpdate) { var library = Task.Run(() => _libraryRepository.GetLibraryForIdAsync(libraryId)).Result; _scannedSeries = new ConcurrentDictionary>();