diff --git a/lib/cartodb/cartodb_windshaft.js b/lib/cartodb/cartodb_windshaft.js index 291dff26..2ee45be3 100644 --- a/lib/cartodb/cartodb_windshaft.js +++ b/lib/cartodb/cartodb_windshaft.js @@ -557,6 +557,8 @@ var CartodbWindshaft = function(serverOptions) { if ( err ) throw err; layergroup = instance; fakereq = { query: {}, params: {}, headers: _.clone(req.headers), + method: req.method, + res: res, profiler: req.profiler }; ws.setDBParams(cdbuser, fakereq.params, this);