preserve original callback signature for addFile

This commit is contained in:
Brian Gough 2018-03-27 09:41:38 +01:00
parent b551f3c7e9
commit e29c657c8a

View file

@ -178,7 +178,7 @@ module.exports = ProjectEntityUpdateHandler = self =
]
DocumentUpdaterHandler.updateProjectStructure project_id, userId, {newFiles}, (error) ->
return callback(error) if error?
callback(null, fileRef, folder_id, result?.path?.fileSystem, fileStoreUrl)
callback(null, fileRef, folder_id)
replaceFile: wrapWithLock
beforeLock: (next) ->