Rename AuthAppi by AuthBackend

This commit is contained in:
Daniel García Aubert
2018-04-09 18:08:56 +02:00
parent 6167562758
commit 8dec4814a9
17 changed files with 75 additions and 75 deletions
@@ -14,7 +14,7 @@ module.exports = class AnalysisLayergroupController {
mapStore,
userLimitsApi,
layergroupAffectedTablesCache,
authApi,
authBackend,
surrogateKeysCache
) {
this.analysisStatusBackend = analysisStatusBackend;
@@ -22,7 +22,7 @@ module.exports = class AnalysisLayergroupController {
this.mapStore = mapStore;
this.userLimitsApi = userLimitsApi;
this.layergroupAffectedTablesCache = layergroupAffectedTablesCache;
this.authApi = authApi;
this.authBackend = authBackend;
this.surrogateKeysCache = surrogateKeysCache;
}
@@ -31,7 +31,7 @@ module.exports = class AnalysisLayergroupController {
`/:token/analysis/node/:nodeId`,
layergroupToken(),
credentials(),
authorize(this.authApi),
authorize(this.authBackend),
dbConnSetup(this.pgConnection),
rateLimit(this.userLimitsApi, RATE_LIMIT_ENDPOINTS_GROUPS.ANALYSIS),
cleanUpQueryParams(),