Remove unused thenable
This commit is contained in:
parent
87c4848e19
commit
5bf4eba215
@ -129,9 +129,8 @@ module.exports = class AggregationMapConfigAdapter {
|
|||||||
context.aggregation.layers.push(aggregatedFormats);
|
context.aggregation.layers.push(aggregatedFormats);
|
||||||
});
|
});
|
||||||
|
|
||||||
return requestMapConfig;
|
callback(null, requestMapConfig);
|
||||||
})
|
})
|
||||||
.then(requestMapConfig => callback(null, requestMapConfig))
|
|
||||||
.catch(err => callback(err));
|
.catch(err => callback(err));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user