Fix: bad error message
This commit is contained in:
@@ -39,7 +39,7 @@ MapConfigOverviewsAdapter.prototype.getLayers = function(username, layers, callb
|
||||
}
|
||||
|
||||
if (!layers || layers.length === 0) {
|
||||
return callback(new Error('XX Missing layers array from layergroup config'));
|
||||
return callback(new Error('Missing layers array from layergroup config'));
|
||||
}
|
||||
|
||||
return callback(null, layers);
|
||||
|
||||
Reference in New Issue
Block a user