mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Add explanatory comment
This commit is contained in:
parent
b642b3cf3a
commit
ffd002dc76
1 changed files with 1 additions and 0 deletions
|
@ -62,6 +62,7 @@ function getFile(req, res, next) {
|
||||||
|
|
||||||
logger.log({ key, bucket, format, style }, 'sending file to response')
|
logger.log({ key, bucket, format, style }, 'sending file to response')
|
||||||
|
|
||||||
|
// pass 'next' as a callback to 'pipeline' to receive any errors
|
||||||
pipeline(fileStream, res, next)
|
pipeline(fileStream, res, next)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue