Fix linter problem

This commit is contained in:
Ivan Malagon 2017-12-12 16:04:25 +01:00
parent 53bc14bc9e
commit 811f2bdae3

View File

@ -415,7 +415,7 @@ TestClient.prototype.getDataview = function(dataviewName, params, callback) {
if (params.hasOwnProperty('no_filters')) { if (params.hasOwnProperty('no_filters')) {
urlParams.no_filters = params.no_filters; urlParams.no_filters = params.no_filters;
} else { } else {
urlParams.own_filter = params.hasOwnProperty('own_filter') ? params.own_filter : 1 urlParams.own_filter = params.hasOwnProperty('own_filter') ? params.own_filter : 1;
} }
['bbox', 'bins', 'start', 'end', 'aggregation', 'offset', 'categories'].forEach(function(extraParam) { ['bbox', 'bins', 'start', 'end', 'aggregation', 'offset', 'categories'].forEach(function(extraParam) {