@carto/api-client 0.5.9-alpha.PR193.1 → 0.5.9-alpha.PR193.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/api-client.cjs
CHANGED
|
@@ -6161,10 +6161,12 @@ function createURLWithParameters(baseUrlString, parameters) {
|
|
|
6161
6161
|
if (isPureObject(value) || Array.isArray(value)) {
|
|
6162
6162
|
baseUrl.searchParams.set(key, JSON.stringify(value));
|
|
6163
6163
|
} else {
|
|
6164
|
-
|
|
6165
|
-
|
|
6166
|
-
|
|
6167
|
-
|
|
6164
|
+
if (value !== null && value !== void 0) {
|
|
6165
|
+
baseUrl.searchParams.set(
|
|
6166
|
+
key,
|
|
6167
|
+
value.toString()
|
|
6168
|
+
);
|
|
6169
|
+
}
|
|
6168
6170
|
}
|
|
6169
6171
|
}
|
|
6170
6172
|
return baseUrl.toString();
|
|
@@ -6440,7 +6442,7 @@ function executeModel(props) {
|
|
|
6440
6442
|
queryParameters: source.queryParameters || "",
|
|
6441
6443
|
filters,
|
|
6442
6444
|
filtersLogicalOperator,
|
|
6443
|
-
tags
|
|
6445
|
+
...tags ?? {}
|
|
6444
6446
|
};
|
|
6445
6447
|
queryParams.spatialDataType = spatialDataType;
|
|
6446
6448
|
queryParams.spatialDataColumn = spatialDataColumn;
|