jitz-sharepoint-utilities 2.0.10 → 2.0.12
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/data/context/List.ts
CHANGED
@@ -149,7 +149,7 @@ export default class List<T extends IModel> implements IList<T> {
|
|
149
149
|
filter = `(Id gt ${this.lowerId} and Id le ${this.upperId})`;
|
150
150
|
if (this.filters != undefined && this.filters.length > 0)
|
151
151
|
filter = `${filter} and ${this.filters}`;
|
152
|
-
console.log(filter);
|
152
|
+
// console.log(filter);
|
153
153
|
var results = await this.getData(filter);
|
154
154
|
return results;
|
155
155
|
} else return [];
|
@@ -332,7 +332,7 @@ export default class Repository<T extends IModel> implements IRepository<T> {
|
|
332
332
|
if (response.status >= 200 && response.status < 300) {
|
333
333
|
return item;
|
334
334
|
} else {
|
335
|
-
console.log(JSON.stringify(response));
|
335
|
+
// console.log(JSON.stringify(response));
|
336
336
|
return Promise.reject(new Error(JSON.stringify(response)));
|
337
337
|
}
|
338
338
|
});
|
package/lib/data/context/List.js
CHANGED
@@ -478,7 +478,6 @@ var List = /** @class */ (function () {
|
|
478
478
|
filter = "(Id gt ".concat(this.lowerId, " and Id le ").concat(this.upperId, ")");
|
479
479
|
if (this.filters != undefined && this.filters.length > 0)
|
480
480
|
filter = "".concat(filter, " and ").concat(this.filters);
|
481
|
-
console.log(filter);
|
482
481
|
return [4 /*yield*/, this.getData(filter)];
|
483
482
|
case 3:
|
484
483
|
results = _a.sent();
|