gd-sprest 9.8.7 → 9.8.8
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/request.js +2 -2
- 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/request.js
CHANGED
|
@@ -436,7 +436,7 @@ export const Request = {
|
|
|
436
436
|
// Parse the requests
|
|
437
437
|
Executor(base.base.batchRequests, batchRequest => {
|
|
438
438
|
// Do nothing if the stop flag is set
|
|
439
|
-
if (root.stopFl) {
|
|
439
|
+
if (root.stopFl || base.stopFl) {
|
|
440
440
|
return;
|
|
441
441
|
}
|
|
442
442
|
// Return a promise
|
|
@@ -705,7 +705,7 @@ export const Request = {
|
|
|
705
705
|
// Get the root base object
|
|
706
706
|
let root = Helper.getRootParent(base);
|
|
707
707
|
// See if we are getting all items in the base request
|
|
708
|
-
if (base.getAllItemsFl && root.stopFl != true) {
|
|
708
|
+
if (base.getAllItemsFl && (root.stopFl || base.stopFl) != true) {
|
|
709
709
|
// Create the target information to query the next set of results
|
|
710
710
|
let targetInfo = Object.create(base.targetInfo);
|
|
711
711
|
targetInfo.accessToken = base.targetInfo.accessToken || (base.xhr.isGraph ? Graph.Token : null);
|