Add todos

This commit is contained in:
Daniel García Aubert
2019-03-01 17:49:26 +01:00
parent f5fb60aa56
commit 2a0287b358
2 changed files with 2 additions and 0 deletions
@@ -42,6 +42,7 @@ module.exports = class AggregatedFeaturesLayergroupController {
credentials(),
authorize(this.authBackend),
dbConnSetup(this.pgConnection),
// TODO: create its rate limit
rateLimit(this.userLimitsBackend, RATE_LIMIT_ENDPOINTS_GROUPS.ATTRIBUTES),
cleanUpQueryParams([ 'aggregation' ]),
createMapStoreMapConfigProvider(
+1
View File
@@ -6,6 +6,7 @@ const debug = require('debug')('backend:cluster');
const AggregationMapConfig = require('../models/aggregation/aggregation-mapconfig');
module.exports = class ClusterBackend {
// TODO: reduce complexity
// jshint maxcomplexity: 17
getClusterFeatures (mapConfigProvider, params, callback) {
mapConfigProvider.getMapConfig((err, _mapConfig) => {