diff --git a/src/services/sharedFolder.js b/src/services/sharedFolder.js index cf2c197290..90b4ac214a 100644 --- a/src/services/sharedFolder.js +++ b/src/services/sharedFolder.js @@ -111,9 +111,9 @@ module.exports = { return cb('File not found ' + path) } if (!isRealPath(path, cb)) return - fs.remove(path, (error, data) => { + fs.remove(path, (error) => { if (error) console.log(error) - cb(error, data) + cb(error, true) }) },