diff --git a/lib/cartodb/controllers/layergroup.js b/lib/cartodb/controllers/layergroup.js index 6a807474..63da4947 100644 --- a/lib/cartodb/controllers/layergroup.js +++ b/lib/cartodb/controllers/layergroup.js @@ -543,7 +543,10 @@ function getTile (tileBackend, profileLabel = 'tile') { req.profiler.start(`windshaft.${profileLabel}`); const { mapConfigProvider } = res.locals; - const params = getRequestParams(res.locals); + const { token } = res.locals; + const { layer, z, x, y, format } = req.params; + + const params = { token, layer, z, x, y, format }; tileBackend.getTile(mapConfigProvider, params, (err, tile, headers, stats = {}) => { req.profiler.add(stats);