gd-sprest 9.8.5 → 9.8.6

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 CHANGED
@@ -6,7 +6,7 @@ import { GraphTypes, SPTypes } from "./sptypes";
6
6
  * SharePoint REST Library
7
7
  */
8
8
  export const $REST = {
9
- __ver: 9.85,
9
+ __ver: 9.86,
10
10
  AppContext: (siteUrl) => { return Lib.Site.getAppContext(siteUrl); },
11
11
  Apps: Lib.Apps,
12
12
  ContextInfo: Lib.ContextInfo,
@@ -670,6 +670,11 @@ export const Request = {
670
670
  if (isBatchRequest) {
671
671
  // Process the callbacks
672
672
  Batch.processCallbacks(base.base.batchRequests[batchIdx]);
673
+ // See if the callback for odata query exists
674
+ if (base.targetInfo.callbackQuery) {
675
+ // Call the method
676
+ base.targetInfo.callbackQuery(base.base.batchRequests[batchIdx]);
677
+ }
673
678
  }
674
679
  }
675
680
  },