From 48c5a458f3cf1be964389d35beb82c177c562bd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Wed, 28 Feb 2018 19:22:22 +0100 Subject: [PATCH] Remove bad use of profiling step --- lib/cartodb/middleware/context/authorize.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/cartodb/middleware/context/authorize.js b/lib/cartodb/middleware/context/authorize.js index b37cf639..d4af0d0e 100644 --- a/lib/cartodb/middleware/context/authorize.js +++ b/lib/cartodb/middleware/context/authorize.js @@ -1,7 +1,5 @@ module.exports = function authorize (authApi) { return function authorizeMiddleware (req, res, next) { - req.profiler.done('req2params.setup'); - authApi.authorize(req, res, (err, authorized) => { req.profiler.done('authorize'); if (err) {