Rename variable for clarity

This commit is contained in:
Javier Goizueta 2018-05-21 17:06:53 +02:00
parent befedfd80a
commit 6384f5538c

View File

@ -296,7 +296,7 @@ function (layer, dbConnection, callback) {
Promise.all([
_estimatedFeatureCount(ctx).then(
({ estimatedFeatureCount }) => _sample(ctx, estimatedFeatureCount)
.then(s => mergeResults([s, { estimatedFeatureCount }]))
.then(sampleResults => mergeResults([sampleResults, { estimatedFeatureCount }]))
),
_featureCount(ctx),
_aggrFeatureCount(ctx),