Typo
This commit is contained in:
@@ -6,7 +6,7 @@ const {
|
||||
createPositiveNumberValidator,
|
||||
createIncludesValueValidator,
|
||||
createAggregationColumnsValidator
|
||||
} = aggregationValidator;
|
||||
} = aggregationValidator;
|
||||
|
||||
module.exports = class AggregationMapConfig extends MapConfig {
|
||||
static get PLACEMENTS () {
|
||||
|
||||
@@ -117,9 +117,8 @@ module.exports = class AggregationMapConfigAdapter {
|
||||
const result = res.rows[0] || {};
|
||||
|
||||
if (!AggregationMapConfig.supportsGeometryType(result.type)) {
|
||||
const error = new Error(unsupportedGeometryTypeErrorMessage({
|
||||
geometryType: result.type
|
||||
}));
|
||||
const message = unsupportedGeometryTypeErrorMessage({ geometryType: result.type });
|
||||
const error = new Error(message);
|
||||
error.type = 'layer';
|
||||
error.layer = {
|
||||
id: mapConfig.getLayerId(index),
|
||||
|
||||
Reference in New Issue
Block a user