diff --git a/server/controllers/FileSystemController.js b/server/controllers/FileSystemController.js index b2f020ea..cee52cb2 100644 --- a/server/controllers/FileSystemController.js +++ b/server/controllers/FileSystemController.js @@ -17,7 +17,7 @@ class FileSystemController { }) // Do not include existing mapped library paths in response - const libraryFoldersPaths = await Database.libraryModelFolder.getAllLibraryFolderPaths() + const libraryFoldersPaths = await Database.libraryFolderModel.getAllLibraryFolderPaths() libraryFoldersPaths.forEach((path) => { let dir = path || '' if (dir.includes(global.appRoot)) dir = dir.replace(global.appRoot, '')