Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.
C# annotationscbzcomicinfocomicscomics-readercross-platformcsharpepubepub-readerfreelinuxmangamedia-servermetadataopdsopds-feedpdfself-hostedubooquitywindows
Changed ScanLibrary to not use optional param due to build issue on Github.
Joseph Milazzo4c40284af24b
diff --git a/API/Interfaces/IDirectoryService.cs b/API/Interfaces/IDirectoryService.csindex 8d1240172..f8e0f7100 100644--- a/API/Interfaces/IDirectoryService.cs+++ b/API/Interfaces/IDirectoryService.cs@@ -6,6 +6,6 @@ namespace API.Interfaces{IEnumerable<string> ListDirectory(string rootPath);- void ScanLibrary(int libraryId, bool forceUpdate = false);+ void ScanLibrary(int libraryId, bool forceUpdate);}}\ No newline at end of filediff --git a/API/Services/DirectoryService.cs b/API/Services/DirectoryService.csindex c599be2f4..3adfae100 100644--- a/API/Services/DirectoryService.cs+++ b/API/Services/DirectoryService.cs@@ -187,7 +187,7 @@ namespace API.Servicesreturn 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<string, ConcurrentBag<ParserInfo>>();