diff --git a/server/lib/rdio-scanner/dir-watch.js b/server/lib/rdio-scanner/dir-watch.js index 934aed1..28e215f 100644 --- a/server/lib/rdio-scanner/dir-watch.js +++ b/server/lib/rdio-scanner/dir-watch.js @@ -90,7 +90,7 @@ class DirWatch { switch (dirWatch.type) { case 'trunk-recorder': { - setTimeout(() => { + setTimeout(async () => { const metaFile = path.resolve(file.dir, `${file.name}.json`); if (!fs.existsSync(metaFile)) { @@ -123,7 +123,7 @@ class DirWatch { } case 'sdrtrunk': { - setTimeout(() => { + setTimeout(async () => { const metaFile = path.resolve(file.dir, `${file.name}.mbe`); if (!fs.existsSync(metaFile)) {