diff --git a/services/web/app/coffee/Features/Compile/CompileController.coffee b/services/web/app/coffee/Features/Compile/CompileController.coffee index 13ce7f47ad..d961de554a 100755 --- a/services/web/app/coffee/Features/Compile/CompileController.coffee +++ b/services/web/app/coffee/Features/Compile/CompileController.coffee @@ -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"