mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
preserve original callback signature for addFile
This commit is contained in:
parent
b551f3c7e9
commit
e29c657c8a
1 changed files with 1 additions and 1 deletions
|
@ -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) ->
|
||||
|
|
Loading…
Reference in a new issue