gd-sprest 9.5.6 → 9.5.7
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/rest.js +1 -1
- package/build/utils/helper.js +1 -1
- package/dist/gd-sprest.js +1 -1
- package/dist/gd-sprest.min.js +1 -1
- package/package.json +1 -1
package/build/rest.js
CHANGED
package/build/utils/helper.js
CHANGED
|
@@ -66,7 +66,7 @@ exports.Helper = {
|
|
|
66
66
|
// Copy the target information
|
|
67
67
|
targetInfo = Object.create(base.targetInfo);
|
|
68
68
|
// See if this is a graph request and an id exists for the parent
|
|
69
|
-
if ((base["@odata.etag"] || (base === null || base === void 0 ? void 0 : base.parent["@odata.context"])) && base["id"]) {
|
|
69
|
+
if ((base["@odata.etag"] || ((base === null || base === void 0 ? void 0 : base.parent) ? base === null || base === void 0 ? void 0 : base.parent["@odata.context"] : null)) && base["id"]) {
|
|
70
70
|
// Append the id
|
|
71
71
|
targetInfo.endpoint += "/" + base["id"];
|
|
72
72
|
}
|