Do not merge req.params and req.query into res.locals (don't use locals middleware in analysis controller)
This commit is contained in:
parent
d3c9da6d5f
commit
7ba3394508
@ -1,7 +1,6 @@
|
||||
const PSQL = require('cartodb-psql');
|
||||
const cors = require('../middleware/cors');
|
||||
const user = require('../middleware/user');
|
||||
const locals = require('../middleware/locals');
|
||||
const cleanUpQueryParams = require('../middleware/clean-up-query-params');
|
||||
const layergroupToken = require('../middleware/layergroup-token');
|
||||
const credentials = require('../middleware/credentials');
|
||||
@ -28,7 +27,6 @@ AnalysesController.prototype.register = function (app) {
|
||||
`${mapconfigBasePath}/analyses/catalog`,
|
||||
cors(),
|
||||
cleanUpQueryParams(),
|
||||
locals(),
|
||||
user(),
|
||||
rateLimit(this.userLimitsApi, RATE_LIMIT_ENDPOINTS_GROUPS.ANALYSIS_CATALOG),
|
||||
layergroupToken(),
|
||||
|
Loading…
Reference in New Issue
Block a user