@ifings/api-client
Advanced tools
Comparing version 0.15.0 to 0.15.1
@@ -27,3 +27,3 @@ "use strict"; | ||
return instance.get("".concat(baseUrl, "(").concat(id, ")")).query(_objectSpread(_objectSpread({}, query), {}, { | ||
$expand: "Datastreams/Observations" | ||
$expand: "Datastreams/Observations".concat(query.$expand && ",".concat(query.$expand)) | ||
})).then(function (res) { | ||
@@ -43,3 +43,3 @@ return _objectSpread(_objectSpread({}, res), {}, { | ||
return instance.get(baseUrl).query(_objectSpread(_objectSpread({}, query), {}, { | ||
$expand: "Datastreams/Observations" | ||
$expand: "Datastreams/Observations".concat(query.$expand && ",".concat(query.$expand)) | ||
})).then(function (res) { | ||
@@ -46,0 +46,0 @@ return res.map(function (thing) { |
{ | ||
"name": "@ifings/api-client", | ||
"description": "iFings API client", | ||
"version": "0.15.0", | ||
"version": "0.15.1", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
54443