clean up whitespace

This commit is contained in:
Brian Gough 2016-05-20 16:34:45 +01:00
parent 0c454f5ddd
commit 3c5eb9a730

View file

@ -41,17 +41,12 @@ module.exports = CompileController =
}
downloadPdf: (req, res, next = (error) ->)->
Metrics.inc "pdf-downloads"
project_id = req.params.Project_id
isPdfjsPartialDownload = req.query?.pdfng
rateLimit = (callback)->
if isPdfjsPartialDownload
callback null, true
else
rateLimitOpts =
endpointName: "full-pdf-download"