diff --git a/lib/manager/v2/fileSystem/FileSystem.js b/lib/manager/v2/fileSystem/FileSystem.js index f9f3f9ba..95a12583 100644 --- a/lib/manager/v2/fileSystem/FileSystem.js +++ b/lib/manager/v2/fileSystem/FileSystem.js @@ -602,7 +602,7 @@ var FileSystem = (function () { lm.refresh(uuid, timeout, function (e, lock) { if (!e) fs.emit('lock-refresh', ctx, pPath, { uuid: uuid, timeout: timeout, lock: lock }); - callback(e); + callback(e, lock); }); }); }); diff --git a/src/manager/v2/fileSystem/FileSystem.ts b/src/manager/v2/fileSystem/FileSystem.ts index 94aa25f8..05836ff0 100644 --- a/src/manager/v2/fileSystem/FileSystem.ts +++ b/src/manager/v2/fileSystem/FileSystem.ts @@ -1006,7 +1006,7 @@ export abstract class FileSystem implements ISerializableFileSystem lm.refresh(uuid, timeout, (e, lock) => { if(!e) fs.emit('lock-refresh', ctx, pPath, { uuid, timeout, lock }); - callback(e); + callback(e, lock); }); }) })