CDB-3256 Adds response and method references to fake request object
This commit is contained in:
parent
cb781aeb00
commit
4cf1ddd6fc
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user