gd-sprest 8.7.8 → 8.8.0

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
@@ -9,7 +9,7 @@ var sptypes_1 = require("./sptypes");
9
9
  * SharePoint REST Library
10
10
  */
11
11
  exports.$REST = {
12
- __ver: 8.78,
12
+ __ver: 8.80,
13
13
  AppContext: function (siteUrl) { return Lib.Site.getAppContext(siteUrl); },
14
14
  Apps: Lib.Apps,
15
15
  ContextInfo: Lib.ContextInfo,
package/build/v2/sites.js CHANGED
@@ -184,9 +184,9 @@ exports.sites.getList = function (props) {
184
184
  }
185
185
  else {
186
186
  // Find the list
187
- findList(info.siteId, props.webId, props.listName).then(function (listId) {
187
+ findList(info.siteId, info.webId, props.listName).then(function (listId) {
188
188
  // Resolve the request
189
- resolve((0, exports.sites)({ siteId: info.siteId }).lists(listId));
189
+ resolve((0, exports.sites)({ siteId: info.siteId, webId: info.webId }).lists(listId));
190
190
  }, reject);
191
191
  }
192
192
  }, reject);