Update db model references

This commit is contained in:
advplyr committed 2023-08-20 13:34:03 -05:00
1 parent 21343ffbd1
commit 6c1b4e3a36
30 files changed
+298 -243

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ class FileSystemController {
})
// Do not include existing mapped library paths in response
const libraryFoldersPaths = await Database.models.libraryFolder.getAllLibraryFolderPaths()
const libraryFoldersPaths = await Database.libraryModelFolder.getAllLibraryFolderPaths()
libraryFoldersPaths.forEach((path) => {
let dir = path || ''
if (dir.includes(global.appRoot)) dir = dir.replace(global.appRoot, '')