mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Fix invocation of getFileStream
This commit is contained in:
parent
5cb85c0332
commit
87fb226c3e
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ module.exports = ProjectFileAgent =
|
|||
return callback(err) if err?
|
||||
FileWriter.writeLinesToDisk entity_id, lines, callback
|
||||
else if type == 'file'
|
||||
FileStoreHandler.getFileStream project_id, entity_id, (err, fileStream) ->
|
||||
FileStoreHandler.getFileStream project_id, entity_id, null, (err, fileStream) ->
|
||||
return callback(err) if err?
|
||||
FileWriter.writeStreamToDisk entity_id, fileStream, callback
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue