calling to new createAffectedTables

This commit is contained in:
Simon Martín
2018-04-06 13:00:12 +02:00
parent 233f9698f3
commit c94d782037
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -422,7 +422,7 @@ function setLastUpdatedTimeToLayergroup () {
const { mapConfigProvider, analysesResults } = res.locals;
const layergroup = res.body;
mapConfigProvider.getAffectedTables((err, affectedTables) => {
mapConfigProvider.createAffectedTables((err, affectedTables) => {
if (err) {
return next(err);
}
+1 -1
View File
@@ -248,7 +248,7 @@ function getStaticImageOptions ({ tablesExtentApi }) {
res.locals.imageOpts = DEFAULT_ZOOM_CENTER;
mapConfigProvider.getAffectedTables((err, affectedTables) => {
mapConfigProvider.createAffectedTables((err, affectedTables) => {
if (err) {
return next();
}