🔧 Fix for a missing key in IFolderData

This commit is contained in:
2022-01-26 10:10:25 -08:00
parent 16838a5ea5
commit c3ef3055fd
2 changed files with 3 additions and 4 deletions

View File

@@ -128,7 +128,7 @@ export default class ApiService extends Service {
},
}
);
const fileCopyDelaySeconds = 10;
const fileCopyDelaySeconds = 30;
const checkFileCopyComplete = (path, previousPath) => {
fs.stat(path, async (err, stat) => {
if (err) {
@@ -146,11 +146,10 @@ export default class ApiService extends Service {
await broker.call("import.walkFolders", {
basePathToWalk: path,
});
console.log(walkedFolder);
await this.broker.call("libraryqueue.enqueue", {
fileObject: {
filePath: walkedFolder[0].filePath,
size: walkedFolder[0].fileSize,
fileSize: walkedFolder[0].fileSize,
},
});
} else {