From cc2cf78264bcc6459ec8610ff12621ec90823ff0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Thu, 14 Sep 2017 16:12:39 +0200 Subject: [PATCH] Rename all 'widget' ocurrences by 'dataview' --- lib/cartodb/models/dataview/aggregation.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cartodb/models/dataview/aggregation.js b/lib/cartodb/models/dataview/aggregation.js index b6f54263..80f77062 100644 --- a/lib/cartodb/models/dataview/aggregation.js +++ b/lib/cartodb/models/dataview/aggregation.js @@ -196,11 +196,11 @@ module.exports = class Aggregation extends BaseDataview { super(); if (typeof options.column !== 'string') { - throw new Error(`Aggregation expects 'column' in widget options`); + throw new Error(`Aggregation expects 'column' in dataview options`); } if (typeof options.aggregation !== 'string') { - throw new Error(`Aggregation expects 'aggregation' operation in widget options`); + throw new Error(`Aggregation expects 'aggregation' operation in dataview options`); } if (!VALID_OPERATIONS[options.aggregation]) {