Remove unuseful callback
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user