@qite/tide-client 1.1.129 → 1.1.131
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/index.js
CHANGED
|
@@ -6534,7 +6534,9 @@ var searchLocations = function (config, searchTerm, signal) {
|
|
|
6534
6534
|
var apiKey = config.apiKey;
|
|
6535
6535
|
var safeSearch = searchTerm.replace(/'/g, "''");
|
|
6536
6536
|
var filter =
|
|
6537
|
-
"$filter=contains(
|
|
6537
|
+
"$skip=0&$top=20&$orderby=name%20asc&$filter=contains(name," +
|
|
6538
|
+
safeSearch.toLowerCase() +
|
|
6539
|
+
")";
|
|
6538
6540
|
var top = "$top=10";
|
|
6539
6541
|
var url = "" + config.host + ENDPOINT_LOCATIONS$1 + "?" + filter + "&" + top;
|
|
6540
6542
|
return get(url, apiKey, config.token, signal, true);
|