Remove unuseful callback

This commit is contained in:
Daniel García Aubert
2017-12-11 18:42:03 +01:00
parent f80e7112bc
commit b1f788fb57
@@ -27,13 +27,7 @@ module.exports = class AggregationMapConfigAdapter {
return callback(error);
}
this._adaptLayers(user, mapConfig, requestMapConfig, context, (err, requestMapConfig) => {
if (err) {
return callback(err);
}
callback(null, requestMapConfig);
});
this._adaptLayers(user, mapConfig, requestMapConfig, context, callback);
}
_hasMissingColumns (mapConfig) {