Clean up invalid where objects in LibraryScanner

This commit is contained in:
advplyr committed 2026-09-20 14:43:39 -05:00
1 parent 18e32410ad
commit 1e5443f054
1 file changed
+2 -8
+2 -8
View File
@@ -515,10 +515,7 @@ class LibraryScanner {
attributes: ['id', 'path'],
where: {
path: {
[sequelize.Op.not]: fullPath
},
path: {
[sequelize.Op.startsWith]: fullPath
[sequelize.Op.startsWith]: fullPath + '/'
}
}
})
@@ -531,10 +528,7 @@ class LibraryScanner {
attributes: ['id', 'path'],
where: {
path: {
[sequelize.Op.not]: altFullPath
},
path: {
[sequelize.Op.startsWith]: altFullPath
[sequelize.Op.startsWith]: altFullPath + '/'
}
}
})